what are you using as a datasource? you can easily get the rowcount from the datasource.
ender_pete
C#,VS.NET Ent Arch, vb6 ee sp5,html,vbscript,jscript,
xml,dhtml,delphi,c++,vc++,java,cgi,php, python, ada(so ancient) ,adasage(also ancient) and others i can't remember.....
dstReturn is the dataset
order_item is the table on the dataset i want to get the rowcount from
ender_pete
C#,VS.NET Ent Arch, vb6 ee sp5,html,vbscript,jscript,
xml,dhtml,delphi,c++,vc++,java,cgi,php, python, ada(so ancient) ,adasage(also ancient) and others i can't remember.....
I've been faced with the same problem for a little while now. I've got a web service that queries the database and pulls back a dataset. I needed to get the number of rows but could only find the visible row count property as well.
A cynic knows the price of everything but the value of nothing.
You could obtain the number of rows when you fill the dataset
VB Code:
Dim iCount As Integer
iCount = da1.Fill(ds1, "TableName")
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
Hi, I Have Asked Before And Still Cant Get it To Work as I Keep Getting it Underlined, Maybe a option Explicit or Strict Error. Here is a Example of how I Make My connection and Using the First, Next, Etc.
Will Someone please Make a password for the Database called Password and Configure the Connection so it will Work. It Usually asks for Username and Password when I Only Put In A Database Password.
Helping with the Find Button Will be A BONUS.
The Database is in the bin Folder. Place The Zip in The C:\ And Unzip.