|
-
Sep 16th, 2002, 04:52 AM
#1
Thread Starter
Junior Member
Empty Dataset
How can I check whether the retreived dataset is empty? I've tried to do it with the code below but it generates an error
Regards,
John
DsProfile1.Clear()
OleDbDataAdapter1.Fill(DsProfile1)
Dim iCnt As Integer
iCnt = Me.BindingContext(DsProfile1, "profileid").Count
if icnt = 0 etc etc
Last edited by tattenhoe; Sep 16th, 2002 at 05:53 AM.
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
|