Represents the data of the table. Provides methods for editing.
Syntax
| C# | |
|---|
public interface IZennoTable |
Remarks
Example
The following code using
IZennoTable Interface for getting information about table.
| C# | Copy Code |
|---|
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
// add a new row
table.AddRow("new row");
// get row count
int rowCount = table.RowCount;
// if row count > 0
if (rowCount > 0)
{
// get row by index "0"
var row = table.GetRow(0);
// join items via "|"
string result = String.Join("|", row);
// and return this value
return result;
} |
| PHP | Copy Code |
|---|
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
// add a new row
$table->AddRow("new row");
// get row count
$rowCount = $table->RowCount;
// if row count > 0
if ($rowCount > 0)
{
// get row by index "0"
$row = $table->GetRow(0);
// join items via "|"
$result = String::Join("|", $row);
// and return this value
return $result;
} |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven
See Also