Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have column named Filled Date. i want to know how i can fetch the month and year for the selected date for validation of filled quantity shud not be greater than the limit configured for tat particular month and year?
Posted
Comments
DamithSL 19-May-14 3:38am    
selected data in DateTime or string format?
Member 10395687 19-May-14 3:44am    
DateTime
DamithSL 19-May-14 4:12am    
please add your code by using Improve question
Emre Ataseven 19-May-14 3:40am    
column in a datatable? column type?

1 solution

Use the DateTime object, DateTimeVariable.Month and DateTimeVariable.Year will give you the values all you need to do is apply your validation.
 
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