尝试好久,没有结果,用odbc都是好的,可oledb不行 如果commandtype是text,执行成功,但就没有结果返回,如果是StoredProcedure,就报错。An unexpected token "CALL" was found following "". Expected tokens may include: "".
OleDbCommand comm = new OleDbCommand(“call test(?)”, conn); comm.CommandType = CommandType.StoredProcedure;