Search This Blog

Friday, November 30, 2012

Print own text on current date in calendar in c# (put text in textbox).



Print own text on current date (put text in textbox).

#region DayRender
  
    protected void Calendar1_DayRender(object sender, DayRenderEventArgs e)
    {
     if (e.Day.IsToday)
            {
                e.Cell.Text = TextBox1.Text;
            }
    }

    #endregion

No comments :