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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top