SetCellValue Method (JTable)

Class

JTable.

Action

Sets the specified value for the specified cell in the table.

Syntax

C#
table.SetCellValue(row, column, value)
VB
table.SetCellValue(row, column, value)
Variable Description
row The index of the row. The value is zero-based. Integer.
column The name or index of the column. ItemIdentifier.
value The cell value object. Object.

Examples

VB

table.SetCellValue(1, "Product Name", "SilkTest")
table.SetCellValue(1, 4, "SilkTest")