从TextBox读取/写入数据到SQL Server DB VB.NET [英] Reading/Writing Data From TextBox to SQL Server DB VB.NET

查看:204
本文介绍了从TextBox读取/写入数据到SQL Server DB VB.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图找到一种方法来从文本框中读取数据并将数据写入sql db.例如,textbox1将在table1中加载column1,textbox2将在table1中加载column2.以另一种形式,textbox1将填充table1中的column1,textbox2将填充table1中的column2.填充列时,它们将覆盖内部的所有现有数据. button1将以两种形式执行这两个功能.

I am trying to find a way to read and write data from text boxes into an sql db. for example, textbox1 will load column1 in table1, and textbox2 will load column2 in table1. in a different form, textbox1 will fill column1 in table1 and textbox2 will fill column2 in table1. When filling the columns, they will overwrite any existing data inside. a button1 will execute both functions in both forms.

推荐答案

该初学者指南应帮助您获得
This beginner''s guide should help you get started[^].


这篇关于从TextBox读取/写入数据到SQL Server DB VB.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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