|
-
Sep 17th, 2003, 10:34 PM
#1
Thread Starter
Lively Member
Count in listbox
Hi, How to count the number of records found in listbox ah?
Thanks everyone..
-
Sep 17th, 2003, 11:34 PM
#2
Dig around and check out the properties of the listbox via the intellisense and you'll see that the Items property (collection) has a 'Count' property.
Msgbox(ListBox1.Items.Count)
-
Sep 18th, 2003, 01:59 AM
#3
Thread Starter
Lively Member
-
Sep 18th, 2003, 07:32 AM
#4
Is the listbox different to VB's listbox then? Or does .Net just open up more methods etc?
Woka
-
Sep 18th, 2003, 07:36 AM
#5
The .NET listbox is a adds a bunch of methods/properties and also the Items collection can store any kind of object, not just strings so the whole ItemData kludge is no longer needed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|