| | |
Data binding to a Radio Button
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2007
Posts: 68
Reputation:
Solved Threads: 0
I have a couple radio button groups in my Windows Form that I would like to bind to a data table.
When I query the database for a single record, I just grabbed row zero and used if-else to select the one i wanted.
Unfortunately, when I get multiple records, I can't do that.
I'm not sure which property should be bound to make it select the right button based on current record.
When I query the database for a single record, I just grabbed row zero and used if-else to select the one i wanted.
Unfortunately, when I get multiple records, I can't do that.
I'm not sure which property should be bound to make it select the right button based on current record.
![]() |
Similar Threads
- radio button looses the selected state after validation (JavaScript / DHTML / AJAX)
- How to make validation of Radio Button in C# (C#)
- radio button validation problem (JavaScript / DHTML / AJAX)
- Radio button insert and retrieve (PHP)
- Dynamically pass column value to database based on radio button selection (ASP.NET)
- radio button list in data list (ASP.NET)
- How to retrieve data from a dynamically generated radio button (ASP.NET)
- Radio button value in asp (ASP)
- binding radio buttons (VB.NET)
Other Threads in the C# Forum
- Previous Thread: Processing client messages
- Next Thread: Audio playspeed, reverse playback
| Thread Tools | Search this Thread |
.net access algorithm array barchart bitmap box broadcast c# check checkbox client combobox control conversion csharp custom cyclethruopenforms data database datagrid datagridview dataset datetime degrees development dll draganddrop drawing encryption enum event excel file finalyearproject form format forms function gdi+ getoutlookcontactusinfcsvfile globalization httpwebrequest image index input install installer java label list listbox mandelbrot math mono mouseclick mysql operator panel path photoshop picturebox pixelinversion post programming radians regex remote remoting richtextbox save server silverlight sleep socket sql sql-server statistics stream string table text textbox thread time timer timespan update upload usercontrol users validate validation visualstudio webbrowser wia windows winforms wpf xml





