|
-
Oct 7th, 2013, 10:07 PM
#1
Thread Starter
Lively Member
DateTimePicker Database problem
Hello,
I am having a tough time debugging a code. I would appreciate some help.
In my form, I have a DateTimePicker that is connected to a database. I entered a date manually in the database and when I load the form, it reads the date and displays it just fine. However, when I pick a date in the datepicker, and update the database, the following error comes up and the operation fails:
Code:
The column name is not valid. [ Node name (if any) = ,Column name = DateTimePickerMembershipExpiration ]
In the table schema, the data type for that field was date and failed to convert. I made it nvarchar and that error pops up. Not sure what the problem is since it reads it on form load so it DOES exist.
Any ideas?
Best,
Kalogerus Productions (K-Pro)

Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|