Saturday, March 24, 2012

Mark a checkbox to true?

I add items to a checkbox, how do I set mark the value to checked?
chkSystem1.Items.Add(CStr(Textbox139.Text))im not too sure what u mean,
theres a thing ".checked "
try messing with that after the check boxes name,
im a newbie but that might help a bit, lol
As you can see I just add items without ID's, so I can't set the checked property. That is what I wish to set, when I add the new item.
a check box on the web form

maybe this

chkboxname.Checked = True
Yes I know, but the main problem is that I don't give the new checkboxes a names as you can see, I only add items
Ok...you are not using a checkbox here.
Are you using a lisbox?

Woka

0 comments:

Post a Comment