Unable to use the column's defaultvalue when inserting a row

J

jmvc

Hi,

I'm trying to insert a row in a table, using a dataset. But when I try to
update the dataset with the dataadapter, it triggers a exception telling that
there's a column with a null value, instead of that columns was defined with
a default value in SQL Server.

I'm using Visual Basic of Visual Studio 2003, connected to a SQL Server
database and developping (or trying to develop) a web application.

Can somebody help me ???

Regards,

Jorge VC
 
N

Nathan Sokalski

Could you post the code you are using to do this? I think I will be able to
help more when I see the code.
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top