Results 1 to 4 of 4

Thread: what is the EOF for dataset?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Resolved what is the EOF for dataset?

    what is the EOF properties for dataset? it is got this properties?
    VB Code:
    1. Private Sub display(ByVal allImage As DataSet)
    2.  
    3.                     Dim dataTable As DataTable = allImage.Tables(0)
    4. end sub
    Last edited by kenny_oh; Sep 13th, 2005 at 10:11 AM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: what is the EOF for dataset?

    EOF is a function that determines whether a stream is positioned at the end-of-file. What has that got to do with that code snippet? If you're reading a DataSet from an XML file then you would use the ReadXml method, which reads the entire file in one go and doesn't require you to worry about the position within the file.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: what is the EOF for dataset?

    i found the method liao

    VB Code:
    1. dataset.rows.count

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: what is the EOF for dataset?

    The DataSet class has no Rows property. Do you mean DataTable.Rows?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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