public void testProcedure(OleExec SFCDB) { OleDbParameter[] para = new OleDbParameter[] { new OleDbParameter(":IN_BU", OleDbType.VarChar, 300), new OleDbParameter(":IN_TYPE", OleDbType.VarChar, 300), new OleDbParameter(":OUT_RES", OleDbType.VarChar, 500) }; para[0].Value = "HWD"; para[1].Value = "C_SKU"; para[2].Direction = ParameterDirection.Output; SFCDB.ExecProcedureNoReturn("SFC.GET_ID", para); System.Console.Out.WriteLine(para[2].Value); }