将数据从ebox写入datbase(Acess2007) [英] writing data from eboxes to datbase(Acess2007)

查看:76
本文介绍了将数据从ebox写入datbase(Acess2007)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何将某些文本框中显示的数据直接写入数据库

How can we write data displayed in some textboxes directly to data base

推荐答案

:omg:

您需要使用SqlConnection对象设置与数据库的连接,然后使用SqlCommand对象执行查询以插入显示在文本框中的数据.

我不知道您要的是其他还是其他.
请让我知道.
:omg:

You need to use SqlConnection object to setup connection with database and then use SqlCommand object to execute queries to insert data displayed in textboxes.

I don''t know whether you are asking for the same or something else.
Please let me know.


这篇关于将数据从ebox写入datbase(Acess2007)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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