我使用包含id col的表将GridView与sqldata源绑定 [英] i binded a gridview with sqldata source using the the table which contains id col which

查看:58
本文介绍了我使用包含id col的表将GridView与sqldata源绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

,其中包含主键和int类型
并在我单击删除链接时在gridview上启用删除操作,它会收到类似 必须声明标量变量
的错误

iam使用gridview和sqldatasource
用sqldatasource绑定gridview
使用主表col的onetable配置sqldatasource
iam启用了从gridview的智能标记中删除删除的功能.

which contains primary key and and int type
and enable the delete operation on the gridview when i am clicking the delete link it is getting an error like must declare a scalar variable


iam using gridview and sqldatasource
binding gridview with sqldatasource
sqldatasource configured wit onetable having primary key col
iam enabling delete opeartion from the smart tag of the gridview.

推荐答案

请查看此博客文章:
Have a look at this blog post: Must declare the scalar variable …[^]


该参数拼写错误,请尝试检查您的代码.更正错误,如有进一步说明,请发布代码.检查您的Sql/oracle查询参数.


您只需检查一下即可..

必须声明标量变量…
You just check this out..

Must declare the scalar variable …


这篇关于我使用包含id col的表将GridView与sqldata源绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆