在datagridview keydown上自动审核数据库 [英] Auto udate the database on datagridview keydown

查看:61
本文介绍了在datagridview keydown上自动审核数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生/女士,
我正在 vb.net 中的项目上工作,在我的项目中,当我在Grid 就像VB6.0中的ADODC一样,所以请指导我.它对我来说如此紧急

Dear Sir/Mam,
I am working on project in vb.net,And in my project I want to update the database automatically when i make changes in Grid just like ADODC in VB6.0, So please guide me Its so urgent for me

推荐答案

对我们来说并不紧急.不要告诉我们您做不到您的工作,以至于您只能发表问题并坐在您的手上,这很烦人.

我认为这不是一个Web项目,因为您没有这么说.网格中包含各种事件,您可以订阅这些事件以知道何时更改值以及何时更改值,您可以运行所需的任何代码,包括将更改存储在数据库中的代码.
It''s not urgent for us. Don''t tell us that you''re so unable to do your job that all you can do is post a question and sit on your hands, it''s annoying.

I assume this is not a web project, as you don''t say it is. Your grid has all sorts of events, you can subscribe to those to know whenever a value is changed and when it is, you can run any code you like, including code to store changes in the DB.


这篇关于在datagridview keydown上自动审核数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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