Anyone knows how to do this?

  • Thread starter Thread starter Chris Wagner
  • Start date Start date
C

Chris Wagner

Hi,

Anyone knows how to put this in the datarow filter in ADO.NET:

"SELECT * FROM Product WHERE datediff('d',ProductPDFDate,now()) < 90"
 
Actually, the 90 is not a constant, it's a column in the table. Is there a
way or this is a limitation of ADO.NET?

"SELECT * FROM Product WHERE datediff('d',ProductPDFDate,now()) < MaxSecond"

Thanks
 

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