单选按钮检查更改前的事件 [英] Event before Radio button check changed

查看:75
本文介绍了单选按钮检查更改前的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个当前和新的单选按钮,每个单选按钮在单个datagridview中有相关数据。所以在更换按钮之前。我想要求保存数据,如果是,则保存。但是当我点击另一个单选按钮时,首先单击更改事件触发,加载与另一个按钮相关的数据,然后请求保存。我怎么能解决这个问题。

解决方案





你的问题不清楚请在解释中的信息。

I have 2 radio buttons current and new , and each radio button have related data in single datagridview. so before changing button. I want to ask for saving data and if yes then save it. But as I click another radio button, click change event fires first,data related to another button loads and then it ask for saving. how could I solve this problem.

解决方案

Hi,

your question is not clear please explain in details.


这篇关于单选按钮检查更改前的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆