Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello I am using VB.Net to develop Order Processing Form. I have a field called EDD 'Expected Delivery Date' I want to have the option of leaving this field blank if I dun have any expected delivery date. The Problem arrrives when I save the order to the SQL database as it doesn't accept Null vales

 

How should I handle a situation like this ? How can I save Blank or Null value to my SQL Server Databse using DateTimePicker Control on Windows Forms? Please any help would be appreciated!

Posted
What flavor of SQL are you using? if it is MS SQL Server go to enterprise manager and go to design table and make sure you have the check box that allows nulls. then you should have no problem passing in a null value.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...