开发者

Delete a record in DataGridView

开发者 https://www.devze.com 2023-02-18 02:40 出处:网络
I\'m trying to delete a record in DataGridView but it is giving me this error: Must declare the scalar variable \"@reg_id\".

I'm trying to delete a record in DataGridView but it is giving me this error:

Must declare the scalar variable "@reg_id".

开发者_JAVA技巧

My reg_id is the primary key column in the table. How can I resolve this?


You have to give default value to @reg_id in stored procedure where you declare this parameter.

like @reg_id = NULL or @reg_id = ' '
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号