ZennoLab Assemblies Documentation
SetCell Method
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IZennoTable Interface : SetCell Method
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.

Glossary Item Box

Sets a value into a cell.

Syntax

C# 
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.
C#Copy Code
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// set value into cell
table.SetCell("A", 0, "value");
PHPCopy Code
// 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

© 2013 All Rights Reserved.