我的GridView存在问题 [英] A problem with my gridview

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

问题描述

在其中添加新记录时,gridview出现此问题

I am having this problem with my gridview when ading a new record in it

索引超出范围.必须为非负数并且小于集合的大小.

Index was out of range. Must be non-negative and less than the size of the collection.

参数名称:索引

Parameter name: index

该怎么办?

推荐答案

嘿,我不明白你的意思,但是如果你给我发了密码,我会告诉我wl试试2解决它.
khaliljkazi@gmail.com
Hey i don''t get u but if u send me tht code snpt thn i wl try 2 solve it.
khaliljkazi@gmail.com


请发布您的代码.没有它就无济于事.
Please post your code. Can''t help much without it.


我认为问题在于从db中检索记录时的行数.请检查
I think the problem will be the Rows count while you retrieve the records from db. please check it


这篇关于我的GridView存在问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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