Traditional Culture Encyclopedia - Almanac inquiry - In ASP.NET C #, the date before the calendar day is not optional.
In ASP.NET C #, the date before the calendar day is not optional.
Set in the DayRender event.
Public Void Calendar1_ dayrender (object sender, DayRenderEventArgs e)
{
if(e . day . date & gt; System. Date and time. Now)
{
e.Day . IsSelectable = false
e.Cell . Font.Strikeout = true
}
}
- Previous article:17 calendar
- Next article:On May 20th, Gregorian calendar asked about Kyrgyzstan.
- Related articles
- Lunar calendar 56 in 2020
- Can I move on March 17, 2022?
- Who knows the rhyme of past dynasties in China's 5,000-year history?
- Will Jacky Peach Blossoms Meet? When you meet Tian Xixing in a fleeting time, can you get love?
- Is September15th 65438+1October 3 1 a good day to enter the house in 2020?
- Does the licensed mobile phone have 3G function now?
- Cartoon almanac
- Search yearbook query
- Gregorian zodiac auspicious day inquiry
- What is the difference between Purdue sentient beings and Purdue sentient beings?