asp.net回发 [英] asp.net postback
问题描述
您好,
我有一个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屋!