在1.aspx.vb中出现出现未定义类型SqlConnection,SqlCommand,SqlDataReader Dim connStr, selectName, selectCmd As String
selectCmd = "SELECT * FROM snuser"
connStr = System.Configuration.ConfigurationSettings.GetConfig("YjConnection")
Dim conn As SqlConnection, cmd As SqlCommand, myReader As SqlDataReader
conn = New SqlConnection(connStr)
conn.Open()
cmd = New SqlCommand(selectCmd, conn)
myReader = cmd.ExecuteReader()请问如何处理???
selectCmd = "SELECT * FROM snuser"
connStr = System.Configuration.ConfigurationSettings.GetConfig("YjConnection")
Dim conn As SqlConnection, cmd As SqlCommand, myReader As SqlDataReader
conn = New SqlConnection(connStr)
conn.Open()
cmd = New SqlCommand(selectCmd, conn)
myReader = cmd.ExecuteReader()请问如何处理???
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货