display day name of selected date
ASP.NET
3
Posts
2
Posters
0
Views
1
Watching
-
How to display day name on selected date in textbox. PS. Using VS 2013, ASP.NET
-
How to display day name on selected date in textbox. PS. Using VS 2013, ASP.NET
Try
CultureInfo local = CultureInfo.CurrentCulture;
int day = (int)DateTime.Now.DayOfWeek;
txtDay.Text = local.DateTimeFormat.DayNames[day];Display this day in the textbox.
Mobile Apps - Sound Meter | Color Analyzer | SMBC | Football Doodles
-
Try
CultureInfo local = CultureInfo.CurrentCulture;
int day = (int)DateTime.Now.DayOfWeek;
txtDay.Text = local.DateTimeFormat.DayNames[day];Display this day in the textbox.
Mobile Apps - Sound Meter | Color Analyzer | SMBC | Football Doodles
I have one textbox with datepicker(AJAX) and I want to display day name as per selected date on another textbox .