Home All Groups Group Topic Archive Search About

DataGrid & Checkbox Template Columns

Author
13 Feb 2006 2:16 PM
JP
Hi,
I've got a simple datagrid (ASP.NET C#) that is populated by an adapter
from SQL.  I
have two template columns - one with a checkbox and one with a textbox.
I am allowing users to indicate which rows to remove from the grid by
checking the boxes - the boxes don't autopostback, i want to remove all
selected rows at once on page postback - my problem is:

I can find now way of iterating through the datagrid rows to check
whether each checkbox in the template column is checked or not!!  Does
anyone know of a way to do this?

AddThis Social Bookmark Button