in my application i show database table in a datagridview , now i want to modify and change some records and save this changes on database , how can i do this ? thanks

Recommended Answers

Save them into DataTable and pass it back to db:

Jump to Post

All 2 Replies

This is an example of how to use dgv control which gets the data from dataBase, and after doing some work on dgv, the data gets inserted back to db. You can get the code snipet HERE.

Hope it helps,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.