This project has moved. For the latest updates, please go here.

Table.RemoveRow() error

Apr 20, 2011 at 12:51 AM

I'm using changeset 63291 and whenever I try to remove a row from a table using Table.RemoveRow(0) I get an object reference not set to an instance of an object error.

 

Coordinator
Apr 20, 2011 at 11:36 AM

I will check this after work today... Stay tuned. 

Coordinator
Apr 20, 2011 at 5:34 PM

This has been fixed, please checkout changeset 64267.

I also added a Remove method to the Row class, you can now do either of the following.

Table table = doc.Tables[0];
table.RemoveRow(0);

Or

Table table = doc.Tables[0];
Row row = t.Rows[0];
row.Remove();