SELECT field1, field2, field1 * field2 AS field3 FROM sometable
for(int i = 0 ; i<datagrid.rows.count mode="hold" /> { int a =datagrid.rows[i][0].value; int b =datagrid.rows[i][1].value; int c = a*b; c=datagrid.rows[i][2].value; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)