Results 1 to 3 of 3

Thread: question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2004
    Posts
    22

    question

    when i use this line of code

    Code:
    Label5.Text = dataset.Tables(0).Rows.Count.ToString
    how do i know that the 0 in Tables(0) is the table i want?

    and if there is other tables how do i know what number it is?

  2. #2
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    You can also use the name of the table in place of the 0 in your code.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2004
    Posts
    22
    thanks

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