Click here to Skip to main content
15,904,416 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
In my project i want to keep a webpage named Employee Birthdays. In that page i want to take month wise names. if suppose we click on january then all the employees in that month should fall in gridview with they respective dates.How i need to start. please any one help me.

Thanks in advance!
Posted
Updated 1-Aug-11 23:03pm
v2
Comments
Herman<T>.Instance 2-Aug-11 5:01am    
what have you tried?
Abhinav S 2-Aug-11 5:07am    
Where are you facing an issue?
mandarapu 2-Aug-11 5:24am    
till now no issue asking to help how to start

1 solution

Try:
SQL
SELECT * FROM myTable WHERE DATEPART(month, birthDate)=DATEPART(month, GETDATE())
 
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