ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2017 www.aspforums.com. All rights reserved.Error: The best overloaded method match for string.ToString has some invalid arguments using C# in ASP.Net<p>Hi <a class="username" rel="AnkitPal">AnkitPal</a>,</p> <p>Can you please explain in more detail exactly what you are trying to achieve?</p>http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/Mon, 09 Jan 2017 02:28:39 GMTError: The best overloaded method match for string.ToString has some invalid arguments using C# in ASP.Net<p>i have a column that name is RecordDate and datatype is DATE</p> <p>when i am insert my record through webform than date is inserted in RecordDate column as below-&nbsp;</p> <p>RecordDate&nbsp;</p> <p>=========</p> <p>01/01/2001</p> <p>01/02/2002</p> <p>01/03/2003</p> <p>01/04/2004</p> <p>&nbsp;</p> <p>But I want to do that when i will be insert date through webform than date is insert as belwo form</p> <p>RecordDate&nbsp;</p> <p><strong>===========</strong></p> <p>1-Jan-2001</p> <p>1-Feb-2002</p> <p>1-Mar-2003</p> <p>1-Apl-2004</p>http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/Mon, 09 Jan 2017 02:32:56 GMTError: The best overloaded method match for string.ToString has some invalid arguments using C# in ASP.Net<p>Hi <a class="username" rel="AnkitPal"> AnkitPal</a>,</p> <p>if your column RecordDate is having the datatype of DATE then you cant store the date with mentioned format "1-Jan-2001" as it is not supported by the SQL so you can do one thing change the column datatype to VARCHAR and while saving the date convert it into "YourValue".ToString("dd-MMM-yyyy") which will save the date in the "1-Jan-2001" format.</p>http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/Mon, 09 Jan 2017 02:57:39 GMTError: The best overloaded method match for string.ToString has some invalid arguments using C# in ASP.Net<p>see below error -<img src="http://i1175.photobucket.com/albums/r623/AnkitPal/Csharp/dataerror_zpsl6jocmlu.png" alt="date error" width="1004" height="177" /></p>http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/Mon, 09 Jan 2017 03:41:16 GMTError: The best overloaded method match for string.ToString has some invalid arguments using C# in ASP.Net<p>Hi <a class="username" rel="AnkitPal">AnkitPal</a>,</p> <p>can you let me know the value of txtmaturitydate.Text.</p>http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/Mon, 09 Jan 2017 03:49:03 GMTError: The best overloaded method match for string.ToString has some invalid arguments using C# in ASP.Net<p>01/01/2001</p>http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/Mon, 09 Jan 2017 04:07:32 GMTError: The best overloaded method match for string.ToString has some invalid arguments using C# in ASP.Net<p>HI <a class="username" rel="AnkitPal">AnkitPal</a>,</p> <p>Refer below code</p> <pre class="brush: csharp">string b = &#34;01/01/2001&#34;; //Your value must be in sequence of month/date/year. string a = Convert.ToDateTime(b).ToString(&#34;dd-MMM-yyyy&#34;);</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/http://www.aspforums.net/Threads/768913/Error-The-best-overloaded-method-match-for-stringToString-has-some-invalid-arguments-using-C-in-ASPNet/Mon, 09 Jan 2017 04:31:15 GMT