After that we will create a method named "Grid Column". This method contains code for the Data Grid View column and design. Creating checkbox column for Data Grid View: Assign Width For Columns:data Grid View1. Add some UI controls and arrange them as in the following figure.
For this, i used where condition in the query and left the rest of the code as before(similar to urs). But now i want to take a data Grid View where i will add 3 column(name,address, Phone) manualy. Delete is also not working properly ..,, There also throws an exception .. Update(Data Table); it has gave an error please help me on this. Data Grid View control are used very frequently in C#. Insert Delete Update in Data Grid View with Data Table in C Hello there, I have a lot of errors with the same announce for the following (some of them!! Introduction In this article, I am showing selected values of a Data Grid View into Text Box and saving changes into Database.Open Visual Studio 2010 and create a Windows Forms Application. The main control of the form is a Data Grid View and three buttons. Using the save button we are performing save, update and delete operations.