vks.gautam1
Well-known member
Im Using vb.net & msacces.
wt i want to upload data in Datgridview. But not latest.
KTDT is column name contaning diffrent dates
How can i select that data which is two months back of current date.
i tried this also
select * from tablename where ktdt<dateadd(mm,-2,getdate())
but it not work.
format of date in my table is 12/04/2008 mm/dd/yyyy
wt i want to upload data in Datgridview. But not latest.
VB.NET:
select * from Table name where KtDate<Date
KTDT is column name contaning diffrent dates
How can i select that data which is two months back of current date.
i tried this also
select * from tablename where ktdt<dateadd(mm,-2,getdate())
but it not work.
format of date in my table is 12/04/2008 mm/dd/yyyy
Last edited: