如何在文本框控件中添加数据库? [英] how do fatch database in the textbox control?

查看:77
本文介绍了如何在文本框控件中添加数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的数据库中有5个字段,其中3个字段与datagrid视图绑定.
我想用两个文本框控件绑定其他2个字段,所以请帮助我...

there are 5 fields in my database 3 fields are bind with datagrid view.
i wanna bind other 2 fields with two textbox control so kindly help me...

推荐答案

看看Control.DataBindings属性:

MSDN上的控件数据绑定属性 [
Have a look for the Control.DataBindings property:

Control DataBindings Property at MSDN[^]


这篇关于如何在文本框控件中添加数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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