DataGrid with CheckBox and DataGrid with RadioButton
Posted on 2005-04-09
I need to do these following things:
1) Make a DataGrid that will have a template column with a CheckBox bind to a Boolean Column on my Database. I need to allow my user to check the options on the DataGrid and, when the user ends, he will click on a button and the status (Checked, Unchecked) will be saved on my database, indepedently of how many pages my grid has.
2) Make a DataGrid that will have a RadioButton. Only one item could be checked on the entire DataGrid so, when the user checks a new item, the previous checked item will be unchecked. I need to be able to retrieve witch item is selected (indepedently of how many pages my grid has and whose page the selected item is)
Thanks to everyone thar could help me doing this. If there is another technic that give me the same functionality and is better that these mentioned, plese tell.