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: 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
AddRow Method
DeleteRow Method
RowCount Property
RowSeparator Property

Send Feedback