Question : Using Radio buttons across multiple columns in GridView

Hi there

I have a table, that contains a number of rows, in each row there are three columns that are mutually exclusive.

What I need is to be able to have radio buttons that are linked across the three columns.
tocid       mandactionid       action       yes       no       notapp       comment
1       1       Action 1       1       0       0       Comment 1
1       2       Action 2       0       1       0       Comment 2
1       3       Action 3       1       0       0       Comment 3

I'd like for where there is a 1 for it to display a checked radio button, and where there is a 0 for it to be unchecked. This can then be edited by clicking the radio in another column where necessary.


Apologies if this is a little vague, I'm just beginning! Happy to post more detail if required.

Answer : Using Radio buttons across multiple columns in GridView

Try it this way
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
        
            
                
                
                
                
                    
                        
                    
                
                
                    
                        
                    
                
                
                    
                        
                    
                
                
            
        
Random Solutions  
 
programming4us programming4us