Insert from DataGridView

shers

Well-known member
Joined
Aug 12, 2007
Messages
86
Programming Experience
1-3
Hi,

Could anybody give me some example code to insert rows of datagridview into a sql express database table? Also, how do I manage concurrency as it is a multi user application?

Thanks
 
Connect the DatagridView to the Database through a DataTableAdapter using a Binding source.



TableAdapter.Update(DataSet) will insert the gridview rows to the database
 
Back
Top