Help

  • Thread starter Erencan SAÐIROÐLU
  • Start date
E

Erencan SAÐIROÐLU

Hi Folks,
I use a datatable. I've passed DBNull.Value to a integer field.
And i update it with dataadapter. It's raise an exception like "@p2
parameter not supplied".
I catch sql statement with sql profiler so i see that the integer field's
parameter pass with "default".

What can i do for null fields.

Note: I can't set "NULL" text to the field becuase it's type integer.

Thanks.
 

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

Top