المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Update only checked rows from a datagridview



C# Programming
09-04-2009, 01:40 PM
Hallo I have a bounded DataGridView, where I added an unbounded checkbox column, by which the user can choose which rows to be updated.
How can I achieve this selective update by the Table Adapter?
Or should I use an "handmade" method, looping through the rows to get all checked one and execute an SQL Update for every one of them?
I'm still at the beginnings in learning TableAdapters.
Thanks in advance