Ask the Expert

Problems with date field when adding user to the database

I am working out of your Wrox book, Beginning C# Web Applications, and I am having a problem on page 130 (adding a user to the database). The problem seems to be with the date field. If I don't enter a date, everything works; but if I do enter a date, I get the "Insert couldn't be performed....." message. Where can I find the errata for the book and an answer to this problem?
Wrox ceased to exist. Therefore, there's no site, no errata, no nothing, unfortunately. I can say that probably your problem is with the date format. It must match the format on your global configuration (machine). If it doesn't work, try another one, such as dd-MM-YYYY, MM-dd-YYYY, etc. If you want to change your machine datetime format settings, you should go to the control panel, Regional and Language Options.

This was first published in February 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: