Collapse | Copy Code
int s1 = Convert.ToInt16(dataGridView1.CurrentRow.Cells[3].Value);
int s2 = Convert.ToInt16(dataGridView1.CurrentRow.Cells[6].Value);
int s3 = s1 * s2;
dataGridView1.CurrentRow.Cells[38].Value = s3;
this is working fine
when i change the value lively in dataGridView1.CurrentRow.Cells[3] it multiply with the changed value
with dataGridView1.CurrentRow.Cells[6] and display the value in
dataGridView1.CurrentRow.Cells[38]
like
cell[3] cell[6] cell[38]
5 5 30
pls help
thanks in advance