新手请教一个问题?
执行“OleDbCommand objCommand=new OleDbCommand(strSQL,OleDbConnection)”语句怎么会出这样的错误提示
'System.Data.OleDb.OleDbConnection ' is a 'type ' but is used like a 'variable '
------解决方案--------------------System.Data.OleDb.OleDbConnection conn = new System.Data.OleDb.OleDbConnection();
OleDbCommand objCommand=new OleDbCommand(strSQL,conn)