DateTime dt = new DateTime(textIssueDate); // textIssueDate contains 20 May 2010, but is a variable
DateTime dt = new DateTime(2001, 01, 01);
string Day; string Month; string Year; textIssueDate = Day.Substring(0, 2); textIssueDate = Month.Substring(1, 3); textIssueDate = Year.Substring(2, 4); int.Parse(Day); int.Parse(Month); int.Parse(Year); DateTime dt = new DateTime(Day, Month, Year);
public void clndIssueDate_DateChanged(object sender, DateRangeEventArgs e) { DateTime dt = new DateTime(textIssueDate); // textIssueDate contains 20 May 2010 }
Attachment: Code.rar