首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

求救: DataGridView 发生以下错误

2012-01-08 
求救: DataGridView 发生以下异常?System.IndexOutRangeExcepition:索引0没有值.在System.windows.forms.C

求救: DataGridView 发生以下异常?
System.IndexOutRangeExcepition:索引0没有值.
  在System.windows.forms.CurrentcyManager.get_item(Int32   index)
  在System.windows.Forms.DataGridView.DataGridViewDataConnection.GetError(Int32   rowIndex)

=====================================================================
是在数据做刷点后发生的,有跟踪代码,但是跟踪不到,请问有谁能帮忙解决?




[解决办法]
看提示是.net自身报的错误, 看看你是否有前移或者后移当前记录的功能, 如果有的话加上边界的判段试一试. 其他的就不清楚了

热点排行