ZennoLab Assemblies Documentation
GetCell(String,Int32) Method
Example 

Type: System.String

The name of column.

Type : System.Int32

The cell's row, zero-based index.

Gets a value from a cell by column name.
Syntax
string GetCell( 
   string column,
   int row
)

Parameters

column

Type: System.String

The name of column.

row

Type : System.Int32

The cell's row, zero-based index.

Return Value

Type: System.String

Value of the requested cell.

Example
The following code using IZennoTable Interface for getting cell.
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// get cell value from column "A" in the zero line
string cell = table.GetCell("A", 0);
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
 
// get cell value from column "A" in the zero line
$cell = $table->GetCell("A", 0);
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
SetCell Method
GetRow Method

Send Feedback