猿问

如何将VS2008与数据库相结合实现签到功能

Lycorisra
浏览 1236回答 1
1回答

慕九州3529262

Dim sql As String = "select * from 表 where " & combobox1.text & "='"+textbox1.text & "'"Using da As New SqlClient.SqlDataAdapter(Sql, cnn), tb As New DataTable, bs As New BindingSourceda.Fill(tb)bs.DataSource = tbMe.DataGridView1.DataSource = bsEnd Using
随时随地看视频慕课网APP

相关分类

SQL Server
我要回答