Monday, January 18, 2010

Urgent: ASP.net Again? Calendar Control?

how can I pick a day from calendar control in asp.net, VB.netUrgent: ASP.net Again? Calendar Control?
If you mean, how do you find out the day someone clicked in a calendar control, you use the SelectedDate property of the control:





http://msdn2.microsoft.com/en-us/library鈥?/a>





Note to previous respondent: ';I don't know'; or ';I'm not telling'; are not appropriate responses in this forum. And being snide isn't useful, either. Please remain silent if you aren't going to be pleasant and helpful.Urgent: ASP.net Again? Calendar Control?
the code is :





textbox1.text = Calendar1.SelectedDate.ToString(';dd\/MM\鈥?br>




This will display the selected date from the calender to a text box as day/month/year





Check this website for other attributes you can use to get long month or full date etc :





http://riderdesign.com/articles/displaya鈥?/a>





hope this helps
Well, since I wasted my time looking at this post, I might as well say this. I would've helped if you were using C# to back your ASP .NET code, because I don't use VB .NET. The question itself didn't say VB .NET. Sorry! =)





But try http://www.gamedev.net/community/forums/鈥?/a>





Or http://www.gotdotnet.com

No comments:

Post a Comment