| Author: srikanth 14 Sep 2006 | Member Level: Bronze | Rating: Points: 2 |
Hi Naveen,
You can convert the user given date to database date before doing the search operation.
if the user gives the date like "30 may 2006"
string st = "30 may 2006"; DateTime d = Convert.ToDateTime(st); Response.Write(d.Date);
where d.Date represents the database date format. you can compare the d.date with database format for getting the data from the database.
|