ZennoLab Assemblies Documentation
SetCell(String,Int32,String) Method
Example 

Type: http://msdn.microsoft.com/en-us/library/system.string.aspx%

The name of column.

Type: System.Int32

The cell's row, zero-based index.

Type: http://msdn.microsoft.com/en-us/library/system.string.aspx%

The value for the cell being set.

Sets a value into a cell by name.
Syntax
void SetCell( 
   string column,
   int row,
   string value
)

Parameters

column

Type: http://msdn.microsoft.com/en-us/library/system.string.aspx%

The name of column.

row

Type: System.Int32

The cell's row, zero-based index.

value

Type: http://msdn.microsoft.com/en-us/library/system.string.aspx%

The value for the cell being set.

Example
The following code using IZennoTable Interface for setting cell.
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// set value into cell
table.SetCell("A", 0, "value");
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
 
// set value into cell
$table->SetCell("A", 0, "value");
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
AddRow Method
GetCell Method

Send Feedback