初学问大家问题,老提示BC30188: 应为声明。
Dim objCommand As OleDbCommand
Dim objDataReader As OleDbDataReader
objConnection=new OleDbConnection(Provider=Microsoft.Jet.OleDb.4.0;Data Source="+Server.MapPath(strDb))
objConnection.Open()
objCommand=new OleDbCommand("select * from message" , objConnection)
如题,老提示以下错误哦:
行 12: objConnection=new OleDbConnection(Provider=Microsoft.Jet.OleDb.4.0;Data Source="+Server.MapPath(strDb))
应为声明
请问是什么原因
------解决方案--------------------引号去哪了?