Array Binding Error - Object reference not set to an instance of an object
BrianPAug 11 2005 — edited Aug 15 2005I usually use the Microsoft Oracle Client for .net, but I am trying to do some large inserts and want to use the array binding feature of ODP.
I cannot for the life of me set the parameters of the command object!
Each time I try to add my array, it get the error "Object reference not set to an instance of an object." I've tried it a number of ways, creating an empty parameter object then adding that object to the collection; I've tried specifiying the data type, and leaving it out; no matter what I do, same error.
Mostly frustrated in that the error doesn't really tell me anything. Can someone shed some light on what is going on here???
Thanks!!
Brian