且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

检测表单上的字段更改

更新时间:2023-02-12 10:16:05

每个字段"都是文本框或其他控件.它们具有更改文本,更改所选索引等事件.您需要使用这些事件来确定是否已更改某些内容,或者需要重新读取数据并将其直接与控件进行比较.没有内置的东西可以帮您.
Each ''field'' will be a textbox or other control. They have events like text changed, selected index changed, etc. You need to use those events to work out if something has been changed, or you need to reread the data and compare it to the controls directly. Nothing build in does it for you.