ZennoLab Assemblies Documentation
AddRow(String) Method
Example 

Type: System.String

A string of items created through a specified separator. If this string has a special format, for example file of Excel, the values ​should be separated by semicolons.

Adds a row to the end of the object of IZennoTable interface .
Syntax
void AddRow( 
   string row
)

Parameters

row

Type: System.String

A string of items created through a specified separator. If this string has a special format, for example file of Excel, the values ​should be separated by semicolons.

Remarks
If rows separator wasn't set then will be using separator by default.
Example
The following code using IZennoTable Interface for adding row. Before call of AddRow method, set rows separator via RowSeparator property.
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// set row separator
table.ColSeparator = ":";
 
// add row 
table.AddRow("one:two:three:four");
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
 
// set row separator
$table->ColSeparator = ":";
 
// add row 
$table->AddRow("one:two:three:four");
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

IZennoTable Interface
IZennoTable Members
Overload List
ITables Interface
DeleteRow Method
ColSeparator Property

Send Feedback