Hi
I am traying to get info from databse datagrideview then edit cells in datagrideview after finish editing i want to modifiy the database by a new data.
so I use the dataset to make that
1-bring data from database to dataset
2-from dataset to datagrideview
3-edit datagrideview
4-refill the dataset by the new gatagrideview values ./////here is the problem
5-update database.
I just want to ask if it is the ideal steps to do that?or is there a better ones?
and the second question :how can I do the step 4 (fill dataset from datagride view)???
thanks a lot
How to editing in Datagridview and save new data into database
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Dec 20, 2010, 12:03 PM EST
Krishna GaradRank #191 · 12.8K reputationPosted Dec 21, 2010, 12:31 AM EST
Suthish NairRank #92 · 22.8K reputationPosted Dec 22, 2010, 12:39 AM EST