TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Priya Bm
NA
33
24.1k
Make date in calendar selectable only 3 days prior today and
Jul 28 2015 8:17 AM
hi,
I am using ajax calendar extender and disabling past dates and future dates.
Below is the code to access three days before from the current date.
txtdateCalendarExtender.StartDate = DateTime.Now.AddDays(-3);
when counting days it should not count weekend.
Eg: today is tuesday . 3 days before means it is showing saturday. In this case it should not count sat and sunday..
How to do this in c#?
Pls help
Reply
Answers (
3
)
Output
Lambda expression?