You must add Convert Zero Datetime=True
to your connection string, for example:
server=localhost;User Id=root;password=mautauaja;Persist Security Info=True;database=test;Convert Zero Datetime=True
More Related Contents:
- Invalid postback or callback argument. Event validation is enabled using ”
- How can I solve a connection pool problem between ASP.NET and SQL Server?
- How to disable postback on an asp Button (System.Web.UI.WebControls.Button)
- ASP.NET MVC – Getting QueryString values
- System.Threading.Tasks – Limit the number of concurrent Tasks
- How can I use a MySql User Defined Variable in a .NET MySqlCommand?
- Encrypting Connection String in web.config
- Postback doesn’t work with aspx page as Default Document
- Can I develop for .NET Framework 4 in Visual Studio 2008?
- What is the ‘page lifecycle’ of an ASP.NET WebForm? [closed]
- ASP.NET how to Render a control to HTML?
- Using scripts in a master page with ASP.NET MVC
- Best Practices For Mapping DTO to Domain Object?
- Control.ResolveUrl versus Control.ResolveClientUrl versus VirtualPathUtility.ToAbsolute
- How can I avoid SQL injection attacks in my ASP.NET application?
- What causing this “Invalid length for a Base-64 char array”
- User Group and Role Management in .NET with Active Directory
- How to insert a very large number of records into a MySql database as fast as possible
- How to send an email with attachments using SmtpClient.SendAsync?
- input name and id changes when set runat=server
- IIS: web applications warmup
- How do I sync the SVN revision number with my ASP.NET web site?
- ASP.Net MVC Redirect To A Different View
- ASP.NET Web Forms and ASP.NET Web Pages
- Why are there two incompatible session state types in ASP.NET?
- ASP.NET strange compilation error
- What’s the different between ASP.NET AJAX pageLoad() and JavaScript window.onload?
- What does {“d”:””} means in asp.net webservice response
- Managing complex Web.Config files between deployment environments
- Integrate existing ASP.NET MVC application with Orchard CMS