Click here to Skip to main content
15,880,891 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to validate date must be continuous

course name RPST

Batch date 23 sep 15

Submit

When i click submit the course name and batch date is saved in database.

Course name RFPFF

Batch date 29 sep 15

i want the RFPFF date must be the next date of RPST date.

in run mode RFPFF Batch date must be 24 sep 15 not any other date(29 sep 15)

for that how can i validate in asp.net using c#.
Posted
Comments
F-ES Sitecore 25-Jun-15 5:44am    
Read the date of the RPST submission into a DateTime and use

myDateTime.AddDays(1)

to get the next day.

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