Click here to Skip to main content
15,919,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in my project i want the search result to perform in that search result i want the records between two dates.
for example i want to know how many entries are register with us from date to to date.
which method is useful for me.
can anyone guide me.
thankx in advance.

am using asp.net 3.5 with sql server express edition.
i want the query which can perform search result for me.
for query
i want only records whoes range inbetween the given dates.
from date
to date.
thankx for reply.
Posted
Updated 17-Feb-10 21:36pm
v2

You'll need to be more specific; how is the search method implemented? Will you be sending dates back to the database? Will you use Linq? Ajax? Some other method? What have you done so far?
 
Share this answer
 
v2
You do this with the most basic SQL. You just use the > and < operators to specify a date range.

Don't post answers to yourself.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900