如何撤消datagridveiw值 [英] how to undo the datagridveiw value

查看:79
本文介绍了如何撤消datagridveiw值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在撤消按钮单击事件中,任何人都告诉撤消C#project

any one tell about undo the changes of datagridveiw in C# project

推荐答案

中datagridveiw的更改你可以用数据库中的数据重新绑定datagridveiw在第一次做。如果您不更新数据库中的任何内容,那么您在datagridveiw上所做的所有更改都将丢失。
on undo button click event you can rebind the datagridveiw with the data in the database as you doing in first time. Then all the changes you did on datagridveiw will lost if you not update anything in the database.


这篇关于如何撤消datagridveiw值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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