I have a form and stored procedure that inserts the data from the form. It works fine except that if a field isn\'t filled in it doesn\'t insert a NULL into SQL
NULL
In my case using 'Nothing' solves the problem. Use it like this
If String.IsNullOrEmpty(pd_first_name.Text) = True Then frmFirstName = Nothing Else frmFirstName = pd_first_name.Text End If