Update database from selected datagridview selected value C# -


i wondering easier way update statement updating database datagridview selected row.

i mean, have filled datagridview database values. now, want update values selected cell.

my code is:

oracleconnection conn = new oracleconnection(sb.tostring()); conn.open(); oracledataadapter sd = new oracledataadapter("select first_name,last_name,group,date person", conn); datatable table = new datatable(); sd.fill(table); datagridview1.datasource = table; conn.close(); 

filling datagridview works fine, want double click on selected cell, type new value, click enter , have value changed. possible?


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -