using (StudentDataContext db = new StudentDataContext()) { Student newStudent = new Student(); newStudent.SName = "Billy-Bob"; db.Students.InsertOnSubmit(newStudent); db.SubmitChanges(); }