Search record between from and todate and display in gridvie

Mar 25 2013 10:43 AM
Hi

I am a beginner. i have simple table emp with ID,Name and DOB.now on design page i have two text box one as Start date and other is End date.
I have one grid-view so i want to display records between dates entered in text box to grid-view.

please help me.Its urgent
here is my sp

Select * From emp A 
Where A.DOB Between @sdtFromDate AND @sdtToDate


Answers (2)