ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2016-12-30 01:14:43

qxzhu
Member
Registered: 2016-08-05
Posts: 39

删除表格后一行出错是什么原因

reoGrid.CurrentWorksheet.DeleteRows(range.Row, range.Rows);

选择要删除的是最后一行就出错。
************** 异常文本 **************
System.ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。
参数名: index
   在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   在 System.Collections.Generic.List`1.get_Item(Int32 index)
   在 cd.b.c(Int32 A_0)
   在 db.a(Int32 A_0, Int32 A_1, Int32 A_2, Func`2 A_3)
   在 cd.c(ck A_0, Single A_1)
   在 cd.c(ck A_0, Point A_1)

Offline

Board footer

Powered by FluxBB