Error by inserting a Date - DataSet

C

Carlos A.

Hello all
(VB - SQL Server 2005)
I create a DataSet with the insert, update, fill... functions.
I have a problem when I try to insert a DateTime field only when it's empty,
I have the error message:
It's not possible to convert string to Date.
Normally when CustomerDate is not empty I convert the value with Cdate( ).
My question is: How can I insert a empty value in this field?

Thanks a lot
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top