Ask a Question related to ASP Database, Design and Development.
-
Aaron Bertrand - MVP #1
Re: rows count
Move the resultset to an array using getRows, and then use ubound.
See [url]http://www.aspfaq.com/2193[/url] and [url]http://www.aspfaq.com/2467[/url]
"swril" <ref@eynoi.com> wrote in message
news:3f1d6c3d$0$262$ba620e4c@reader0.news.skynet.b e...database> Hi,
>
> I'm starting with asp and I have a problem. When I try a query to a> like this :
>
> query = "SELECT * FROM table1"
> set RS = conn.execute(query)
>
> How can I know the number of rows returned by the query ?
>
> Thanks,
>
>
Aaron Bertrand - MVP Guest
-
Count excel Rows
I have an application need to read excel file and count the rows in the page, but not quite sure how to approach. Anyone have any suggestions? ... -
Total Rows and count of specific instance in one read
Is it possible to get the total number of rows and specify where clause in the same stored procedure. For instance, I am trying to get the the... -
[PHP] count rows
Help me out here. I want to get a numeral on the number of records in a table. What is the function? ... -
count rows in dataset...
Try MyDataset.Tables(0).Rows.Count Chris Wilmot "John Pether" <john@<nospam>dotnetsites.net> wrote in message... -
Select rows where other related rows don't exist
I would like to select rows from a table where another related row in the same table doesn't exist and the relation key is more than 1 column. ... -
Ray at #2
Re: rows count
UBound +1, although I'm sure that's covered in your FAQ page...
Ray at work
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:OTJIoKHUDHA.2512@TK2MSFTNGP10.phx.gbl...> Move the resultset to an array using getRows, and then use ubound.
>
> See [url]http://www.aspfaq.com/2193[/url] and [url]http://www.aspfaq.com/2467[/url]
>
>
>
>
>
>
> "swril" <ref@eynoi.com> wrote in message
> news:3f1d6c3d$0$262$ba620e4c@reader0.news.skynet.b e...> database> > Hi,
> >
> > I'm starting with asp and I have a problem. When I try a query to a>> > like this :
> >
> > query = "SELECT * FROM table1"
> > set RS = conn.execute(query)
> >
> > How can I know the number of rows returned by the query ?
> >
> > Thanks,
> >
> >
>
Ray at Guest
-
Unregistered #3
Re: rows count
try RS.recordCount
eg <%Response.Write(RS.RecordCount)%>Unregistered Guest



Reply With Quote

