Options

Object reference not set to an instance of an object issue with 'VerticaParameter' initialization.

Hi
        I got an issue in Vertica ADO.Net Driver comming under \Vertica Client Drivers 6.1.3. It may related to 'VerticaParameter' creation.

       Corresponding to my select query, i use the following code to set query parameter.
But it throw an exception like 'Object reference not set to an instance of an object.'.  

      List<VerticaParameter> paramCollection = new List<VerticaParameter>();     
      paramCollection.Add(new VerticaParameter("id", 1));

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file