How to convert C# datetime to MySql Datetime format. I am getting value from text box like 7/27/2011 this format. But i want to convert in this format 2011-7-27. So here i a
I use:
string fieldate = dt1.ToString("yyyy-MM-dd");