Home Forums WinForms controls Xceed Grid for WinForms Setting a cell value Reply To: Setting a cell value

Xceed Support
Member
Post count: 5658

Using C#
<code>
int RowNumber = 0;
int ColumnNumber = 0;
gridControl1.DataRows[RowNumber].Cells[ColumnNumber].Value = “NewValue”;
</code>

Using VB.NET
<code>
Dim RowNumber As Integer = 0
Dim ColumnNumber As Integer = 0
gridControl1.DataRows(RowNumber).Cells(ColumnNumber).Value = “NewValue”
</code>

Imported from legacy forums. Posted by CharlesB (had 2970 views)