SQL datetime to C# string and back to SQL datetime

ZxPwn

New Member
I have a webservice method that gets data from sql of the format2012-11-18 11:21:03 when i save it to C# string it becomes this format: 18.11.2012 11:21:03How do i change it back to the SQL format 2012-11-18 11:21:03 ?
 
Top