Results 1 to 2 of 2

Thread: Using Combo and Listboxes

  1. #1

    Thread Starter
    Hyperactive Member stingrae's Avatar
    Join Date
    Apr 2002
    Location
    Sydney
    Posts
    401

    Using Combo and Listboxes

    hi all,

    in the opinion of the developers here, what's the best way in VB.Net to store an index behind a combo box or list box object? in VB6, it was possible to have:

    Code:
    ComboBox.AddItem "Seven"
    ComboBox.ItemData(ComboBox.NewIndex) = 7
    This was neat way to store a record ID behind the line in the object. In .Net, they've taken that away from us. Does anyone know this .Net equivalent?

    thanks
    "The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.

    Windows & Web Developer
    Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
    Sutherland Shire, Sydney Australia
    www.stingrae.com.au
    Developer of Arnold - Gym & Martial Arts Database Management System
    www.gymdatabase.com.au

  2. #2

    Thread Starter
    Hyperactive Member stingrae's Avatar
    Join Date
    Apr 2002
    Location
    Sydney
    Posts
    401

    RESOLVED

    Post "resolved". I found the answer in another thread by Edneesis.
    "The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.

    Windows & Web Developer
    Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
    Sutherland Shire, Sydney Australia
    www.stingrae.com.au
    Developer of Arnold - Gym & Martial Arts Database Management System
    www.gymdatabase.com.au

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