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
Hardik Patel
NA
378
466.9k
how to fill holiday and weekend in calender control?
Aug 7 2013 12:27 AM
how to fill holiday and weekend in calender control with different colours?
for example for Weekend = black colour;
holiday = sky blue;
i tried below code but it only shows only single colour for both weekend and holiday.
if (dtholidays.Contains(e.Day.Date) || e.Day.IsWeekend)
{
e.Cell.BackColor = System.Drawing.Color.SkyBlue;
e.Cell.ForeColor = System.Drawing.Color.White;
}
Reply
Answers (
18
)
I need to convert html table data to excel format
Regular Expression