文本框2方式绑定到数据表 [英] Textbox 2 way binding to a datatable

查看:91
本文介绍了文本框2方式绑定到数据表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


这真的很基础,但是我找不到任何地方的答案,或者我在错误的地方找东西可以给我一些简单的代码,从输入到文本框中的值更新Winforms数据表和基础SQL表.
示例在Windows窗体上更改用户电话号码,更改将发布到SQL表中

非常感谢

Hi
This is really basic but I cant find a answer any where or maybe I''m looking in the wrong place can some body give me some simple code that updates an Winforms data table and an underlying SQL table from a value input into a text box.
Example change a users telephone number on a windows form and the change will be posted into the SQL table

Many many thanks

推荐答案

在下面的链接中包含
连接数据库,
插入,更新,删除.

http://www.homeandlearn.co.uk/csharp/csharp_s12p1.html [ ^ ]
In the link below contains
connecting database,
insert, update, delete.

http://www.homeandlearn.co.uk/csharp/csharp_s12p1.html[^]


这篇关于文本框2方式绑定到数据表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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