开发者

Delete a record in DataGridView

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜