Results 1 to 3 of 3

Thread: [RESOLVED] Programmatically telling if there is data in a listbox

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2006
    Posts
    250

    Resolved [RESOLVED] Programmatically telling if there is data in a listbox

    Hi Everyone,

    How can you tell programmatically if a listbox is populated with any data?

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Programmatically telling if there is data in a listbox

    Did you try Listbox.Itest.Count() and see if the result is greater then 0?
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2006
    Posts
    250

    Re: Programmatically telling if there is data in a listbox

    Thanks Gary,

    I knew it was going to be something that easy. Much appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width