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

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top