|
-
Jun 30th, 2005, 03:45 AM
#1
Thread Starter
New Member
how to get record count in oledbdatareader
hi guys,
i am using access as backend in my project. i'am able to retreive data from the database and assigning to textbox. but i wan't to know the no of records.
is there anything just like rs.recordcount in vb6.0
code:
Dim dread As OleDbDataReader = cmd.ExecuteReader()
While dread.Read
data1.Text = dread(1)
data2.Text = dread(2)
data3.Text = dread(3)
End While
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
|