Results 1 to 5 of 5

Thread: Populating Labels from a Database

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2004
    Location
    Smithfield, Utah
    Posts
    19

    Populating Labels from a Database

    Query.

    I'd like to be able to populate my labels from any table in my database when I click on the corrisponding button for the table.

    Any thoughts?

    Dooglo

  2. #2
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    are you familiar with ado or ado.net? it would be very simple. Once you get the syntax down TO the database and tables, it's just a matter of manipulating your labels' text properties.

    label1.TEXT = VARIABLE YOU ASSIGN FROM DATABASE

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2004
    Location
    Smithfield, Utah
    Posts
    19
    Fine.

    But what if I have multiple labels/

  4. #4
    Addicted Member Hole-In-One's Avatar
    Join Date
    Mar 2003
    Location
    Minnesota
    Posts
    195
    How many is multiple?

    10

    100

    1000

    ??

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Feb 2004
    Location
    Smithfield, Utah
    Posts
    19
    Thanks anyway.

    But, I figured it out.

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