eBase = EquipmentBase.Fetch(gridSEquipment.Rows[index].Cells[0].Text);这句话报错 :Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

解决方案 »

  1.   

    告诉你索引溢出了,看看index和cells[0]是否可以访问
      

  2.   

    index的值为16(16是第二页的)我也发现了如过我不跳转页面,没事,我要是跳转页面了,然后再点击gridview里面的修改按钮就报错了
      

  3.   

    同意,gridview的索引都是从0开始的,而不是从1开始。