databinding Radiobuttonlist

Discussion in 'ASP .Net Datagrid Control' started by Tony, Jun 29, 2004.

  1. Tony

    Tony Guest

    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.
    Tony, Jun 29, 2004
    #1
    1. Advertising

  2. Tony

    Tony Guest

    So simple when you see the light!
    Just set the seletedindex, there's me trying to bing it to the database.
    Tony, Jun 29, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Arun K
    Replies:
    0
    Views:
    536
    Arun K
    Dec 29, 2003
  2. CDARS
    Replies:
    0
    Views:
    563
    CDARS
    Jul 20, 2004
  3. Nevyn Twyll

    Custom RadioButtonList Databinding

    Nevyn Twyll, Mar 22, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    2,068
    Nevyn Twyll
    Mar 22, 2005
  4. marianowic

    DataBinding and RadioButtonList

    marianowic, Jul 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    622
    marianowic
    Jul 26, 2006
  5. T.Stanley

    Databinding error during autopostback of radiobuttonlist

    T.Stanley, Jun 5, 2006, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    165
    ganniss
    Jun 19, 2006
Loading...

Share This Page