Insert error from designer generated table adapter:object reference not set to..

R

Rob

I use VB.net 2005 and designer-generated typed dataset. Within the
dataset, there is a table adapter and the table adapter has a public
Insert method. So I tried to call the Insert method with my own
parameters but it causes an exception that says "object reference not
set to an instance of an object". Most of the parameters are string,
decimal and date that have been CTyped so it doesn't seem to be the
problem of the parameters. Any idea?

Rob
 
C

Cor Ligthert [MVP]

Rob,

This can in my idea not be helped without that code where you try to use
that insert method.
And why don't you use your own insert method for this?

Cor
 
R

RobinS

Post your code (if it's not too long), or a short example showing what
you're doing (if the original is too long).

Robin S.
 

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