validation for dates
-
Hi, I have two calendar extendars and two textboxes for fromDate and toDate in my project.When project runs,current date will be shown as default in two textboxes.What will i do for this?:confused:
-
Hi, I have two calendar extendars and two textboxes for fromDate and toDate in my project.When project runs,current date will be shown as default in two textboxes.What will i do for this?:confused:
Thanusree Duth wrote:
When project runs,current date will be shown as default in two textboxes
What do you actually want? Change the default values as per your requirement.
Cheers!! Brij Check my latest Article :A walkthrough to Application State
-
Hi, I have two calendar extendars and two textboxes for fromDate and toDate in my project.When project runs,current date will be shown as default in two textboxes.What will i do for this?:confused:
-
Hi, I have two calendar extendars and two textboxes for fromDate and toDate in my project.When project runs,current date will be shown as default in two textboxes.What will i do for this?:confused:
Thanusree Duth wrote:
urrent date will be shown as default in two textboxes
Setting Current Date in two TextBox
protected void Page_Load(object sender, EventArgs e)
{
string currentDate= DateTime.Now.ToShortDateString();
fromDate.Text = currentDate;
toDate.Text = currentDate;
} -
Hi, I have two calendar extendars and two textboxes for fromDate and toDate in my project.When project runs,current date will be shown as default in two textboxes.What will i do for this?:confused:
check this post to Initialize current date in textbox Tej Aj, Initialize current date in textbox[^] Fan of: http://www.abtstudioz.com/[^]