Insérer dans les éléments de la base de données LINQ2SQL
using (StudentDataContext db = new StudentDataContext())
{
Student newStudent = new Student();
newStudent.SName = "Billy-Bob";
db.Students.InsertOnSubmit(newStudent);
db.SubmitChanges();
}
Aggressive Angelfish