|
-
Feb 8th, 2003, 01:39 AM
#1
Thread Starter
Junior Member
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
-
Feb 8th, 2003, 09:49 AM
#2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|