Dim strConnection As String = System.Configuration.ConfigurationManager.AppSettings("kksb")
Dim Conn As System.Data.OleDb.OleDbConnection = New System.Data.OleDb.OleDbConnection(strConnection)
Dim strSQL As String = "select photo from t_veh_matching where picname=" & Request("picname")
Dim comm As System.Data.OleDb.OleDbCommand = New System.Data.OleDb.OleDbCommand(strSQL, Conn)
Dim myReader As System.Data.OleDb.OleDbDataReader = comm.ExecuteReader(CommandBehavior.SequentialAccess)
Do While myReader.Read()
' Get the publisher id, which must occur before getting the logo.
Photo = myReader.GetString(0)
以上是我的程序
红色一句报错:指定的转换无效