datetime mdat; mdat = dtpdate.Value; //dtpdate is datepicker insert into saltrn (dat) values(mdat.ToString("dd/MM/yyyy")) //for eg: when i saved 27-11-2011 in my table(.entry is saved)..... Now when i am //looking from sql select query, the same entry // looks like 1894-07-16 00:00:00.000 //why is it happening?
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)