Executereader不是查询的成员

时间:2014-01-15 13:05:29

标签: vb.net inline-code

我正在使用这行代码,它会给我留言Excute Reader is not a memeber of query

Dim Query As MySqlCommand = New   MySqlCommand(SQL,System.Configuration.ConfigurationManager["Conncetion"].ConnectionStringSettings)
 Dim RS As MySqlDataReader = Query.ExecuteReader()

这里我使用SQL中的查询是SQL = "SELECT e.* FROM ipm_fuel.tbl_events e inner join ipm_website.tbl_lots l on e.lot_id=l.id

感谢您的评论

0 个答案:

没有答案