protected void Calendar1_SelectionChanged(object sender, EventArgs e) { TextBox2_PopupControlExtender.Commit(Calendar1.SelectedDate.ToString("dd/MM/yyyy")); }
Quote:String was not recognized as a valid DateTime.
DateTime.ParseExact(TextBox2.Text.Trim(), "dd/MM/yyyy", null).ToString("MM/dd/yyyy");
s = s.Split("/")(1) + "/" + s.Split("/")(0) + "/" + s.Split("/")(2);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)