private void UpdateCourse() { OperationDataContext OdContext = new OperationDataContext(); //Get Single course which need to update COURSE objCourse = OdContext.COURSEs.Single(course => course.course_name == "B.Tech"); //Field which will be update objCourse.course_desc = "Bachelor of Technology"; // executes the appropriate commands to implement the changes to the database OdContext.SubmitChanges(); }
COURSEs
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)