need help with GridView and a DataSet
Posted on 2006-06-01
I have a gridview that is has its datasource set to a DataSet.
Each row in the grid has checkbox. When the checkbox is unchecked/checked I need to update it rows in the DataSet.
I assume i will need to store the DataSet in a session object and update that each time the checkbox is clicked.
Then when i hit the "save" button i can check the ((DataSet)Session["DataSet"]).HasChanges() and make the correct database calls with the new values.
Struggling to get this figured out and do it correctly!!
Thanks for your help!