Datagrid problems using asp.net 1.1, sorting, displaying check boxes

S

Scott

Hello all and thanks in advance for any help you may be able to offer
me.

I am quite new to asp.net and am trying to work with a datagrid but am
having some problems with it.

Here's the problem...

My datagrid displays 2 columns of checkboxes and allows the user to
select the check boxes and sort the datagrid. My first problem, if
the user checks a check box and then sorts the grid, the grid appears
to sort properly BUT I loose the checkbox that was checked. The grid
is wired to a dataset/datatable.

What normally should be done in this situation? Postback event when a
checkbox is selected update the dataset and then repopulate the
datagrid with the updated dataset?... I was thinking I would like the
grid to just hold onto the check box values during the sorting and
then when the user moves to the next screen read through each row in
the datagrid and process the checked boxes accordingly...

Any ideas and code examples would be GREATLY appreciated!!!

Thanks,
Scott
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top