hi,
pls. tell me how to select value from a check box, & from a list box or combo box.
actually i m new to c# , so sorry for this stupid question but i need your help.
Thanx in advance.
Happy Diwali
Regards
~ Dimple
kool.net
0
Light Poster
Recommended Answers
Jump to PostFor checkBox, use Checked and CheckState property.
List and ComboBox; use SelectedValue property.
Jump to PostIt wasn't clear to me whether your question was for obtaining the state, as you have already been directed, or you are wanting to set the state, which I will throw out some additional direction below.
// ListBox method to select an item... public void SetSelected(int index, …
All 6 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
sknake
commented:
good suggestion
+5
sanch01r
0
Light Poster
DdoubleD
315
Posting Shark
kool.net
0
Light Poster
miracle007
0
Newbie Poster
avirag
10
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.