how to search data between specified dates
Posted
by sumit
on Stack Overflow
See other posts from Stack Overflow
or by sumit
Published on 2010-03-31T21:00:47Z
Indexed on
2010/03/31
21:03 UTC
Read the original article
Hit count: 531
i have a query
OleDbCommand com = new OleDbCommand("select * from techs where actd0v between '" + TextBox1.Text + "' and '" + TextBox2.Text + "'" , con);
where textbox 1 and 2 are the specified dates in which i want to retreive some date related to those dates.but when i m trying to find the data between the given dates it gives me some dates which are not included in between them.is there any pattern i need to specify to get all the dates which occur in between the specified dates.
i m using ms access database for my project.
© Stack Overflow or respective owner