SqlDataAdapter, insert, DBNull problem

  • Thread starter Thread starter Marius Horak
  • Start date Start date
M

Marius Horak

Hello,

Update(DataTable) fails with HasErrors set to true.
This is due that some columns have DBNull value.
But those columns are defined as NULL (SQL Server).
Is it a dotnet bug or null values are not allowed?

Thanks

MH
 
Marius Horak said:
Update(DataTable) fails with HasErrors set to true.
This is due that some columns have DBNull value.
But those columns are defined as NULL (SQL Server).
Is it a dotnet bug or null values are not allowed?

Please give more details of your exact schema, the exact exception, and
your code.
 
Thank you for reply.
Problem not important any more as the table in question is no longer in use.

MH
 
Back
Top