更新gridview数据时出现错误 [英] Getting Error while updating gridview data
本文介绍了更新gridview数据时出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在服务器上更新Girdview中的行时出现错误.
相同的代码将在本地计算机上运行,但是在服务器上将无法运行.
看到以下错误:
消息:Sys.WebForms.PageRequestManagerServerErrorException:索引超出范围.必须为非负数并且小于集合的大小.
参数名称:index
i am getting error while updating rows in Girdview at server.
The same code will work in local machine.But, it will notl not work in the server.
see the below error :
Message: Sys.WebForms.PageRequestManagerServerErrorException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
推荐答案
查看是否与您的问题有关:
索引超出范围.必须为非负数并且小于集合的大小. [
see if this is related to your issue :
Index was out of range. Must be non-negative and less than the size of the collection.[^]
这篇关于更新gridview数据时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文