Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a window form i want to filter ma datagridview accouding to month selected from combobox. Any Code or an Example..
Posted
Comments
What have you tried and where is the problem?

SQL
I have made use of SQL built in Function MONTH(col) and YEAR(col).
For Example:
select name,dob,add from tablename where MONTH(dob)= Value && YEAR(dob)=Value
 
Share this answer
 
Comments
VICK 17-Mar-14 1:02am    
If it has solved your problem, do accept this as answer so that it could tag this question as solved.

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