asp command

  • Thread starter Thread starter Mickael JOUVIN
  • Start date Start date
M

Mickael JOUVIN

Hello,

I would like to know what is the ASP command wich can return the number of
record after a SQL request.

Regards,

Michaël.
 
Assuming that DataSet = ds
ds.Tables[0].Rows.Count

But there are a number of ways to do this. How are you retrieving the data?
 
I would like to test if my SQL request return something ?

Regards,
Michaël.

Curt_C said:
Assuming that DataSet = ds
ds.Tables[0].Rows.Count

But there are a number of ways to do this. How are you retrieving the data?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


Mickael JOUVIN said:
Hello,

I would like to know what is the ASP command wich can return the number of
record after a SQL request.

Regards,

Michaël.
 
if(ds != null){}

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


Mickael Jouvin said:
I would like to test if my SQL request return something ?

Regards,
Michaël.

Curt_C said:
Assuming that DataSet = ds
ds.Tables[0].Rows.Count

But there are a number of ways to do this. How are you retrieving the data?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


Mickael JOUVIN said:
Hello,

I would like to know what is the ASP command wich can return the number of
record after a SQL request.

Regards,

Michaël.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top