oledbDatareader的语句是怎样的?
oledbDatareader的语句是怎样的?
我的语句:
Dim conn As System.Data.OleDb.OleDbConnection
Dim sStr As String
Dim dr As System.Data.OleDb.OleDbDataReader
???????
sStr = "Provider=MSDAORA.1;pwd=pwd;user id=username;datas ource=kksb"
conn = New System.Data.OleDb.OleDbConnection(sStr)
conn.Open()
sStr = "select * from t_user where username='" & username.Text & "' and pwd='" & pwd.text & "'"
问号部分不会