[求助] 文本框怎么绑定数据库中的内容
这是我链接数据库的代码,要吧查询到的内容,在文本框中显示。高手给指点一下吧。'Dim ssql As String
Dim conn As New OleDb.OleDbConnection
Dim myadapter As New OleDb.OleDbDataAdapter
Dim mydataset As New DataSet
conn = New OleDb.OleDbConnection(GETCNstring())
ssql = "select ID_tel as 用户电话,name as 用户名,pass as 密码,strdata as 开号日期,stodata as 停止日期,miaoshu as 所属单位,beizhu as 备注 from IPtel where miaoshu = '" & txt_iptel.Text & "'"
把ID_tel显示在textbox1.text中
吧name显示在textbox2.text中
··
··
··
把beizhu显示在textbox7.text中
谢谢了