| | |
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 alignment app array barchart bitmap box broadcast c# c#gridviewcolumn cast check checkbox client combobox communication control conversion csharp custom database datagrid datagridview dataset datatable datetime degrees development draganddrop drawing elevated encryption enum excel file focus form format forms function gdi+ hospitalmanagementsystem httpwebrequest image index input install java label list listbox localization login mandelbrot math messagebox mouseclick mysql operator path photoshop picturebox pixelinversion plotting pointer post programming radians read regex remote remoting richtextbox server sleep socket sql statistics stream string stringformatting sun table text textbox thread time timer update usercontrol validation visualstudio webbrowser whileloop windows winforms wpf xml





