Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > databinding Radiobuttonlist

Reply
Thread Tools

databinding Radiobuttonlist

 
 
Tony
Guest
Posts: n/a
 
      06-29-2004
Can anyone help me, how do I bind a radiobuttonlist to a field in my
datagrid? (in VB)
I have searched google and found loads of info but nothing to do what I
need. I have a column in my db that holds a number between 0 and 5 and
want it displayed as a radio button with the current value. This is so the
user can quickly work down a list changing/setting the value, then press
save at the bottom of the grid and have the data entered in one go.

Also:
Do I have to give a 'value' to the listitems (radio buttons) as I just
wanted text in the column header.
 
Reply With Quote
 
 
 
 
Tony
Guest
Posts: n/a
 
      06-29-2004
So simple when you see the light!
Just set the seletedindex, there's me trying to bing it to the database.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataBinding and RadioButtonList marianowic ASP .Net 0 07-26-2006 02:07 PM
Databinding error during autopostback of radiobuttonlist T.Stanley ASP .Net Web Controls 1 06-19-2006 11:11 AM
Custom RadioButtonList Databinding Nevyn Twyll ASP .Net 0 03-22-2005 10:41 PM
Select RadioButtonList Item via Databinding CDARS ASP .Net 0 07-20-2004 11:47 AM
RadioButtonList Databinding problem. Arun K ASP .Net 0 12-29-2003 06:40 PM



Advertisments