Need code for Insert, Update, Delete query using LINQ in datagridview in C# Windows Programming?
Scenario: There is following controls in the form:
datagridview, textbox1, textbox2, button(save,edit,update,delete)
1.By clicking on save button, data should be updated into datagridview at run-time.
2.By selecting complete row and clicking on edit button, data should be retrieved into textboxes.
3.By clicking on Update button, that data should be updated.
4.By selecting a complete row, the row should be deleted.
Javeed M ShaikhPosted Apr 26, 2013, 10:06 PM
http://www.c-sharpcorner.com/uploadfile/kannagoud/insertupdatedelete-in-datagridview-using-linq-in-windows-forms/