Getting date value from calender

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • salo
    New Member
    • Mar 2007
    • 18

    Getting date value from calender

    Hi ........Im working with c# and asp.net and i have two calendar control in my form and i want the cliked date value to be get displayed in the textbox.

    i gave the code as

    TextBox1.Text = Calendar1.Selec tedDates.ToStri ng();

    in page load event but while running nothing is displayed.
    and also after getting the date in the textbox ...i have to subtract the from date and to date

    plz can anybody help me....
Working...