Author: afrika | Posted on: 1/4/2009 2:48:17 PM | Views : 312

Hello guys,

how do i get the total number of items in a dropdown list, the code below gives me a value of 0

 if (DropDownList_Categories.Items.Count == 0)
        {
            DropDownList_Categories.Visible = false;
            TextBox1.Text = User.Identity.Name.ToUpper().ToString() + "'s Group";
            TextBox1.Visible = true;
        }

 

tnx
...

Go to the complete details ...