Surendra Sharma

Surendra Sharma

Search This Blog

Tuesday, May 4, 2010

Check selected value in CheckListBox in ASP.NET


for
(int counter = 0; counter < ChecklistBox1.Items.Count; Counter++)

{

    if (ChecklistBox1.Items[counter].Selected == true)

    {

       //True part

    }

    else

    {

       //false Part

    }

}


No comments:

Post a Comment