I have code like this:
AutoParkDataDataContext Db = new AutoParkDataDataContext(); Dailyreport dailyRep = new Dailyreport(); string time = Convert.ToDateTime
Your line:
string time = Convert.ToDateTime("10-10-2014 15:00:00");
Shouldn't compile.
I can only guess that you don't have DateTime as type of your column in SQL Server, you should modify it to keep DateTime and then pass a DateTime type object, not a string.
DateTime