2
Answers

Saving data from datagridview to database sql server

Photo of Ahmed El Hamdi

Ahmed El Hamdi

10y
775
1
Hey,
Im using visual studio 2010.
 
I have an application based on winforms.
 
Im using c#, i have a datagridview wich is loaded with data from a table (sql server database 2008).
 
I want to ask how could I detect if there is a modification in datagrid and save the modification to the table in my databse!
 
like and update, insert and delete operation !
 
thank you
 
here is my mail : el.h.ahmed@outlook.com (cuz im login with facebook account here)

Answers (2)

1
Photo of Mithun Pattankar
NA 731 63.8k 8y
Sure Dapper (Micro ORM) instead of EF6. Much easier to use.
Accepted