Hey all,
I have a Gridview that is presenting a list of students that attended a course, I have created a template field with a checkbox that if checked by the instructor it means the student has attended the course.
Then I have Submit button at the bottom of the page, what I want is for the instructor to just run down the list check each student that did attend the course, then click the Submit button.
Where I am drawing the blank is how to get each one of those DataKey's which happens to be StudentID into a list if they have been checked so I can then run through my Update statement to make the change in the database.
Hints, tips, pointers or links to some online info or even a suggestion on a better way to do this would all be greatly appreciated.
Thanks,