Value returning
Pls help i want to return values from a checkbox nd display them in a listbox.i'd be greatfull if can get related coding sources.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Niradhip ChakrabortyPosted May 29, 2009, 12:02 PM
listbox1.Items.Clear();
foreach (ListItem itm in chkName.Items)
{
if (itm.Selected)
{
listbox.Items.Add(itm.Value);
}
}
Kirtan PatelPosted May 29, 2009, 7:25 AM