Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

datalistitem

Status
Not open for further replies.

Nsan

MIS
Apr 30, 2003
13
0
0
I have a datalist that contains a listbox and a label. I need to count the number of values in the listbox and display that number in the label.

Nothing that I have done has worked.
 
You'll probably need to use FindControl if the listbox is a child of the datalist. Then you would just use myListBox.Items.Count as normal.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top