Value of type 'System.Data.SqlClient.SqlParameter' cannot be converted to '1-dimensional array of System.Data.SqlClient.SqlParam RRS feed

  • Question

  • hi friends,

    i got this error , when i try to pass a parameter to a function .. do any one know abt this issue


    Friday, December 28, 2007 10:31 AM

All replies

  • Hello,


    Could you post your code?

    It will be simpler to see what's happening.

    Is it during the generation of your code or when the execution of your application ?

    Check whether the parameter has the same type when your calling your function versus the definition of the parameter in your function.

    Maybe the definition of the function specify a 1-dimension array and you are using in the call of your function a variable which is not an array.


    Sorry for my poor english


    Have a nice day


    Friday, December 28, 2007 11:05 AM