cancel
Showing results for 
Search instead for 
Did you mean: 

Update cell in the grid

Former Member
0 Kudos

hello,

I use a Grid to display a SQL query and I need to update the manual way

a field in the grid for each row

It is a calculation (sale price - purchase price) / purchase price

I can not find the code in VB to do this

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you can use this code:

oGrid.DataTable.SetValue(colname, rowindex, newvalue)

Bye.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you