C# Programming
11-28-2009, 03:00 AM
string from,to;
from=this.dateTimePicker1.Value.ToShortDateString();
to=this.dateTimePicker2.Value.ToShortDateString();
string str="select * from Furn_Info where Time between ‘"+from+"’
and ‘"+to+"’";
but it do not work as i think ,i'm use data SQl2000
please show me how can i do
from=this.dateTimePicker1.Value.ToShortDateString();
to=this.dateTimePicker2.Value.ToShortDateString();
string str="select * from Furn_Info where Time between ‘"+from+"’
and ‘"+to+"’";
but it do not work as i think ,i'm use data SQl2000
please show me how can i do