C
Calvin
Hi all,
I have a problem when creating a new record in SQL
database when the column is Non-Nullable w/ default value.
What I did was create SqlDataAdapter and DataSet, filled
the DataSet w/ data AND schema. However, when I try to
create a record with those default columns empty (i.e. not
assigning value to them), the Update method of Adapter
raises an exception that I am trying to creating a record
w/ the non-nullable column set to null, even tho I have
create a default value for them in Sql server.
Any help would be appreciated.
Calvin
I have a problem when creating a new record in SQL
database when the column is Non-Nullable w/ default value.
What I did was create SqlDataAdapter and DataSet, filled
the DataSet w/ data AND schema. However, when I try to
create a record with those default columns empty (i.e. not
assigning value to them), the Update method of Adapter
raises an exception that I am trying to creating a record
w/ the non-nullable column set to null, even tho I have
create a default value for them in Sql server.
Any help would be appreciated.
Calvin