| C# | |
|---|---|
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.
The following code using IZennoTable Interface for getting row.
| C# | Copy Code |
|---|---|
// 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"); | |
| PHP | Copy Code |
|---|---|
// get table by name "MyTable" $table = $project->Tables["MyTable"]; // get row $row = String::Join(":", $table->GetRow(0)); // show message System\Windows\Forms\MessageBox::Show($row, "Row from table"); | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven