all groups > c# > november 2004 >
You're in the

c#

group:

Bind to a Radio button?


Bind to a Radio button? Andrew J. Kelly
11/30/2004 10:41:56 PM
c#:
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 J. Kelly SQL MVP


Re: Bind to a Radio button? Manco
12/1/2004 4:52:59 AM
[quoted text, click to view]

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

Re: Bind to a Radio button? Andrew J. Kelly
12/1/2004 8:58:26 AM
That looks to be a Web based control. I need a windows forms control.

--
Andrew J. Kelly SQL MVP


[quoted text, click to view]

AddThis Social Bookmark Button