Home All Groups Group Topic Archive Search About

displaying data from two datetimepickers to datagrid

Author
6 Sep 2006 8:41 AM
esha
hello all,

i am making project in vb.net.
i want to display some information in datagrid from this date to this
date. i have added two datetimepickers. and there is one button GO. on
clicking 'Go', that information should be displayed in the datagrid
from the database.

i have used query like:
select  * from tablename where date between datetimepicker1 and
datetimepicker2

but nothing works.
what should i do ?
if anyone knows, please reply.

thanks in advance.

AddThis Social Bookmark Button