Hasan Posted March 5, 2005 Posted March 5, 2005 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! Quote
Micah Posted March 8, 2005 Posted March 8, 2005 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.