ZennoLab Assemblies Documentation
AddRow(IEnumerable<String>) Method
Example 

Type: IEnumerable<string>

The values of the row.

Adds a row from a list of values to the end of the object of IZennoTable interface .
Syntax
void AddRow( 
   IEnumerable<string> values
)

Parameters

values

Type: IEnumerable<string>

The values of the row.

Example
The following code using IZennoTable Interface for adding row. Before call of AddRow method.
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// add row 
table.AddRow(new [] { "one", "two", "three", "four" });
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
 
// add row 
$table->AddRow(array("one", "two", "three", "four"));
Requirements

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

See Also

Reference

IZennoTable Interface
IZennoTable Members
Overload List
AddRow Method
DeleteRow Method
IZennoTable Interface

Send Feedback