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!! cause i am only am be to retrieve the data to the datagridview for delete, i want to delete in the datagridview, meaning each row got it own delete button please provide me with the code….. which is: ” Dynamic SQL generation for the Update Command is not supported against a Select Command that does not return any key column information. So, if i click the button then it will show the result in Data Grid, against the customer_ID which will be given in the textbox. namespace Database private void button3_Click(object sender, Event Args e) private void Form6_Load(object sender, Event Args e) private void data Grid View1_Cell Content Click(object sender, Data Grid View Cell Event Args e) private void button1_Click(object sender, Event Args e) private void button4_Click(object sender, Event Args e) public void clear() } } Thanq so much for ur reply ..,, Here throws another exception if i use Ur code given .., Dynamic SQL Generation for the update command is not supported against a select command that doesn’t return any key column information ..,, Bhaia, I have done Insert, Update, Delete in data Grid View in the same way as urs. Update for the entire row is happening ..,, But for a single column it throws an exception ..,, Can U sort out this problem .. Update(datatable) Actually am using Oracle for the same thing i wrote like follwoing Oledb Data Adapter.