Datagridview-原始值 [英] Datagridview - original values
本文介绍了Datagridview-原始值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用datagridview绑定到绑定源以在VB2005中显示我的数据.我希望能够像修改数据集中的原始值一样,识别出修改后的单元格的原始值.
如何在数据网格中执行此操作?
谢谢
I''m using a datagridview bind to a bindingsource to display my data in VB2005 . I want to be able to identify the original values of a cell when it is modified just as it exists in the dataset (original values).
How can I do this in a datagrid?
Thanks
推荐答案
使用Cell事件,即:CellEnter,CellEndEdit,CellValueChanged.
此处 [
Use the Cell events, i.e.: CellEnter, CellEndEdit, CellValueChanged.
Here[^] is a collection of datagridview events
这篇关于Datagridview-原始值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文