Results 1 to 2 of 2

Thread: EOF in vb.net

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2002
    Posts
    24

    Red face EOF in vb.net

    Hello Everybody!
    I am populating a table in access using cmd and datareader.
    When my table is empty initially,i want to insert some value in the first column of it.
    So how can i check this condition (ie if there is no record then do something,like first column value=1 )
    I tried it using dataadapter and dataset as well.
    but the problem is when it checks that there r no rows it doesnt go into the if loop.
    is there any condition similar to EOF or BOF (as in vb) in vb.net.
    Can anyone help?
    Regards
    amita

  2. #2
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Arrow

    Give us some of the code you have so we can see what you are dealing with. (our mind reading caps are malfunctioning )
    ~Peter


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