V
VK
Hello,
I have a dataset which has one datatable in it. The dt
has over 3000 rows in it. Now I would like to get the rows
where the StartDate is 15 Feb 2005, so I did the following:
ds.Tables(0).Select("StartDate = '15/02/2005'")
However this returns me only 3 rows. I have tried other
possiblities like:
ds.Tables(0).Select("StartDate = '15 Feb 2005'")
ds.Tables(0).Select("StartDate = #15/02/2005#")
ds.Tables(0).Select("StartDate = '15/2/2005'")
But all of them returns only 3 rows. I know that there are
more then 3 rows for that date. I cheked the data from the
dbase and compared the rows with the dt and found the
dates, but I am not getting the expected result when I use
Select.
Can somebody help me please?
Thanks
I have a dataset which has one datatable in it. The dt
has over 3000 rows in it. Now I would like to get the rows
where the StartDate is 15 Feb 2005, so I did the following:
ds.Tables(0).Select("StartDate = '15/02/2005'")
However this returns me only 3 rows. I have tried other
possiblities like:
ds.Tables(0).Select("StartDate = '15 Feb 2005'")
ds.Tables(0).Select("StartDate = #15/02/2005#")
ds.Tables(0).Select("StartDate = '15/2/2005'")
But all of them returns only 3 rows. I know that there are
more then 3 rows for that date. I cheked the data from the
dbase and compared the rows with the dt and found the
dates, but I am not getting the expected result when I use
Select.
Can somebody help me please?
Thanks