ZennoLab Assemblies Documentation
RowCount Property
Example 
Gets the number of rows actually contained in the table.
Syntax
int RowCount {get;}

Property Value

Type: System.Int32
The number of rows actually contained in the table.
Example
The following code example shows the value of the RowCount property at various points in the life of a table.
// 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";
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IZennoTable Interface
IZennoTable Members
ColCount Property

Send Feedback