ZennoLab Assemblies Documentation
GetCell Method
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IZennoTable Interface : GetCell Method
column

Type: System.String

The name of column.
row
Type :System.Int32
The cell's row, zero-based index.

Glossary Item Box

Gets a value from a cell.

Syntax

C# 
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.
C#Copy Code
// 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);
PHPCopy Code
// 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

© 2013 All Rights Reserved.