G
Guest
hey all,
i have a datagrid with checkbox rows and was wondering how to persist the
selected checkboxes as a user pages the datagrid. So here's my thought
process (please correct me if i'm wrong or if there's a better way).
i was thinking when i populate a datatable from my database, i'll add an
extra boolean column manually in the code behind. Then i'll add a checkbox
item to a template column and somehow tie those together. But I don't know
how to do that? Or if binding the checkbox to that extra boolean column is
even possible.
if this is a good idea then can someone please show me how to bind the
checkbox to the extra boolean column? Or if there's a better way, what is it?
thanks,
rodchar
i have a datagrid with checkbox rows and was wondering how to persist the
selected checkboxes as a user pages the datagrid. So here's my thought
process (please correct me if i'm wrong or if there's a better way).
i was thinking when i populate a datatable from my database, i'll add an
extra boolean column manually in the code behind. Then i'll add a checkbox
item to a template column and somehow tie those together. But I don't know
how to do that? Or if binding the checkbox to that extra boolean column is
even possible.
if this is a good idea then can someone please show me how to bind the
checkbox to the extra boolean column? Or if there's a better way, what is it?
thanks,
rodchar