Gridview编辑不起作用 [英] Gridview Editing is not working

查看:98
本文介绍了Gridview编辑不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网页中有gridview.我在Gridview中有编辑"按钮.当我在运行时单击编辑"时,它没有响应.有人可以帮我吗,不允许编辑gridview数据的可能原因是什么?

谢谢,
Arunachalam M.

I have gridview in my webpage. I have Edit button in Gridview. It doesn''t response when I click Edit in run time. Can someone help me, what are the possible reasons which does not allow to edit gridview data.

Thanks,
Arunachalam M.

推荐答案

谁知道问题出在哪里.您尚未向我们显示任何相关代码.我可以推测出一些您可以检查的事情.
1)确保已将单击处理程序添加到编辑"按钮中,并且您的代码正在接收该命令.
2)确保您正在代码中设置要编辑的行的索引.
Who knows where the problem lies. You haven''t shown us any relevant code. I can guess at a couple of things off the top that you can check.
1) Ensure that you have added a click handler to your edit button and that the command is being received by your code.
2) Ensure that you are setting the index of the row being edited in the code.


这篇关于Gridview编辑不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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