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
 
Back
Top