Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in .NET only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
.NET
RadioButton & DataBinding
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
havana7
New Member
Join Date:
Jul 2007
Posts:
13
#1
RadioButton & DataBinding
Aug 29 '07, 09:33 AM
Hi everybody,
Is there a method to bind 2 RadioButton on 1 Database bit Field?
Thanx
nateraaaa
Recognized Expert
Contributor
Join Date:
May 2007
Posts:
664
#2
Aug 29 '07, 02:02 PM
Originally posted by
havana7
Hi everybody,
Is there a method to bind 2 RadioButton on 1 Database bit Field?
Thanx
Why not do a simple if else to determine whether the radio button should be checked or not?
if(database bit Field == 1)
{
RadioButton1.Ch ecked = true;
RadioButton2.Ch ecked = false;
}
else
{
RadioButton1.Ch ecked = false;
RadioButton2.Ch ecked = true;
}
Nathan
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment