| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IZennoTable Interface : RowCount Property |
// get table by name "MyTable" IZennoTable table = project.Tables["MyTable"]; // get rows count int rowsCount = table.RowCount; // add row table.AddRow("one:two:three:four"); // get rows count if (table.RowCount != rowsCount) return "Rows count was changed"; return "Rows count wasn't changed";
// get table by name "MyTable" IZennoTable table = project.Tables->get_Item("MyTable"); // get rows count $rowsCount = $table->RowCount; // add row $table->AddRow("one:two:three:four"); // get rows count if ($table->RowCount != $rowsCount) return "Rows count was changed"; return "Rows count wasn't changed";
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven