to:hamadou(闵峰)
你在一个回复中
Dim command As New SqlClient.SqlCommand()
command.CommandText ="select * from tablename where id=" & a
command.Connection = conn
Dim count As Integer =
If count < 1 Then
MessageBox.Show("没有这个用户id")
End If
请问,ExecuteReader: Connection 属性尚未初始化。command.ExecuteScalar该如何解决?