Technology used : VS2008, VB.NET, LinqToSQL, BindingSource
I used LinqToSQL to create a detailsform. So I have a Textbox bound to a Varchar column in the dababase. When I created a record with the form it stores some columns as NULL values which is perfect. When I change the value of the textbox to something and
do a db.SubmitChanges() the value is stored.
However, when I make the textbox empty and save, the value in the database is an empty string. I want it to be NULL. How can i achieve this?
View Complete Post