TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Baruch F
NA
15
0
filling in checkboxes and such from existing data
Jul 15 2008 5:04 PM
What is the recommended way to fill in radio buttons and checkboxes from existing data. Is it just a bunch of if statements or is there something cleaner? Like the following example;
if (rehabPrognosis == "01")
rdo270RehabPrognosis1Good.Checked = true;
else if (rehabPrognosis == "UK")
rdo270RehabPrognosisUKUnknown.Checked = true;
else if (rehabPrognosis == "00")
rdo270RehabPrognosis0Guarded.Checked = true;
Thats just one set of radio buttons. In my program I might have 100 such problems
Reply
Answers (
1
)
Disable ClearType text rendering of RichTextBox
values inputed in one form and used in another form