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

  • Thread starter Thread starter Rob
  • Start date Start date
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
 
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
 
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.
 
Back
Top