asp.net回发 [英] asp.net postback

查看:82
本文介绍了asp.net回发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我有一个Web应用程序,我有一个gridview,我从我的数据库表填充它,然后我选择了它,在我选择之后一行我得到一个客户端的id,字符串id = gridview.selectedrow.cells [1] .value,cells [1]是ID列,然后是一个按钮
用于更新,在我得到我写的id之后用于更新客户端名称的查询。但我收到此错误


回发参数无效,请使用方法ClientScriptManager.RegisterForEventValidation。



问候

解决方案

http://forums.asp.net/

Hello,

I have a web application, I have a gridview, I fill it from my database tables, then I have enabled the selection in it, after I select a row I get the id of a client, string id=gridview.selectedrow.cells[1].value, cells[1] is the IDs column, then a button for update, after I get the id I write a query to update the name of the client. but I get this error

postback arguments are invalid, use the method ClientScriptManager.RegisterForEventValidation.

regards

解决方案

http://forums.asp.net/


这篇关于asp.net回发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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