ZennoLab Assemblies Documentation
GetRow Method
Example 
Type: System.Int32

The zero-based index of the row.

Returns the value of the row at the specified index from IZennoTable object as System.Collections.Generic.IEnumerable<String> object.
Syntax
IEnumerable<string> GetRow( 
   int row
)

Parameters

row
Type: System.Int32

The zero-based index of the row.

Return Value

Type: System.Collections.Generic.IEnumerable <String>

A collection that contains the strings from the specified row.

Example
The following code using IZennoTable Interface for getting row.
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// get row
string row = String.Join(":", table.GetRow(0));
 
// show message
System.Windows.Forms.MessageBox.Show(row, "Row from table");
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
 
// get row
$row = String::Join(":", $table->GetRow(0));
 
// show message
System\Windows\Forms\MessageBox::Show($row, "Row from table");
Requirements

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

See Also

Reference

IZennoTable Interface
IZennoTable Members
AddRow Method
DeleteRow Method
RowCount Property
RowSeparator Property

Send Feedback