Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何根据先前的单元格值验证 gridview 列单元格?
例如,如果当前单元格值为 10,则下一个单元格值必须大于 10
你有 CellValidated/CellValidating/CellValueChanged 事件。
你从他们那里得到的参数包括行号和列号。您剩下要做的就是与上面的行进行比较。