string dateFromtemp = dr["DateFrom"].ToString(); DateTime dateFrom = DateTime.ParseExact(dateFromtemp, "dd/MM/yyyy", null);
dateFromtemp
DateTime dateFrom = (DateTime)dr["DateFrom"];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)