【发布时间】:2018-09-03 18:26:16
【问题描述】:
我有两个数据网格视图: datagridView1,与 col A 和 B (Cells[0], Cells1):
datagridView2 (Cells[0], Cells[1], Cells[2]):
我想比较两个表之间的值,如果:
- the value in datagridView1.rows[i].Cells[0].value = datagridView2.rows[j].Cells[0].value AND the value in datagridView1.rows[i].Cells[1].value = datagridView2.rows[j].Cells[1].value THEN write in datagridView1.rows[i].Cells[2].value the value from the third column in datagridView2:
【问题讨论】: