"If at first you don't succeed; call it version 1.0" :-Unknown

Pages

Sunday, November 11, 2012

Fetch data between two dates in dataview rowfilter

 Fetch data between two dates in dataview rowfilter
DateTime from = Convert.ToDateTime(txtFrom.Text);
DateTime to = Convert.ToDateTime(txtTo.Text);
string dateFilterString = "CreatedOnFilter >= #" + from + "# AND CreatedOnFilter <= #" + to + "#";



If u had any trouble just ask, Happy to help u :)
 Stay Tune...
 Have a nice day... 'N happy Coding :)

No comments: