Bind to a Radio button?

  • Thread starter Thread starter Andrew J. Kelly
  • Start date Start date
A

Andrew J. Kelly

How do you data bind to a group of radio buttons? I can bind to an
individual radio button just fine but how do you bind a single field to all
the buttons so it works like a Radio button should?
 
Andrew said:
How do you data bind to a group of radio buttons? I can bind to an
individual radio button just fine but how do you bind a single field
to all the buttons so it works like a Radio button should?

Look up RadioButtonList control under WebControls namespace. DataValueField
property has a good example of how do to exactly this.
 
Back
Top