the conversion of a varchar data type to a datetime data type resulted in an out-of-range value
Datetime receivedDate = DateTime.ParseExact(receivedDate.Text, "dd/MM/yyyy", System.Globalization.CultureInfo.InvariantCulture);
string query = "INSERT INTO dateTbl(recD) VALUES('" + receivedDate + "')"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)