Procedure expects parameter which was not supplied

后端 未结 12 1497

I\'m getting the error when accessing a Stored Procedure in SQL Server

Server Error in \'/\' Application.
Procedure or function \'ColumnSeek\' expects parame         


        
12条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-02 18:40

    In addition to the other answers here, if you've forgotten to put:

    cmd.CommandType = CommandType.StoredProcedure;
    

    Then you will also get this error.

提交回复
热议问题