Results 1 to 3 of 3

Thread: <resolved> Datasets

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Malaysia
    Posts
    345

    <resolved> Datasets

    I am a newbie on ASP.net and good experience on ASP.

    In ASP we used to make recordsets and checked , whether it reyurned any records or not through
    Code:
    if not rst.eof then
    .

    Here, I am making datasets. How to check, whether dataset returned any records or not?

    I pick up a record from the datset like this

    Code:
    ds.Tables(0).Rows(0).Item("Modified_Date")
    Last edited by sinha; Apr 21st, 2005 at 11:20 AM.
    Thanks.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Datasets

    Do a .Rows.Count

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Malaysia
    Posts
    345

    Re: Datasets

    Thanks......
    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