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
sunakshi saxena
NA
54
82.6k
CODE CONTENT
Nov 9 2011 2:00 AM
I am using below code line which gives gray color to all saturdays in a calender, I want that it will give color only 2, 4 saturday then how will I modify this code line.Please Help Urgently
<td align="Center" id="td_Saturday" runat="server" height="50px" class='<%# Convert.ToString(DataBinder.Eval(Container.DataItem, "WEEK")).ToUpper()=="1"?"txt-grey":(Convert.ToString(DataBinder.Eval(Container.DataItem, "WEEK")).ToUpper()==("4").ToUpper()?"txt-grey":(Convert.ToString(DataBinder.Eval(Container.DataItem, "WEEK")).ToUpper()==("3").ToUpper()?"txt-grey":(Convert.ToString(DataBinder.Eval(Container.DataItem, "WEEK")).ToUpper()==("2").ToUpper()?"txt-grey":(Convert.ToString(DataBinder.Eval(Container.DataItem, "WEEK")).ToUpper()==("5").ToUpper()?"txt-grey":"gridItemStyle")))) %>'
Reply
Answers (
1
)
List object 's selected cells value capture in excel 2007 using vsto 3.0
ArrayList for saving all the columns of database