OracleConnection connection = new OracleConnection(connectionString);
--连接
connection.Open();
OracleCommand command = new OracleCommand();
command.Connection = connection;
command.CommandText = "PACK_SIIT.getFlowTrack";--存储过程名
command.CommandType = CommandType.StoredProcedure;--设置执行为存储过程
command.Parameters.Add("var_barcode", OracleType.VarChar, 50);
command.Parameters.Add("cur_FirstTrial", OracleType.Cursor).Direction = ParameterDirection.Output;
command.Parameters.Add("cur_Scan", OracleType.Cursor).Direction = ParameterDirection.Output;
command.Parameters.Add("cur_Send", OracleType.Cursor).Direction = ParameterDirection.Output;
command.Parameters.Add("cur_Receive", OracleType.Cursor).Direction = ParameterDirection.Output;
command.Parameters.Add("cur_Review", OracleType.Cursor).Direction = ParameterDirection.Output;
command.Parameters.Add("cur_Confirm", OracleType.Cursor).Direction = ParameterDirection.Output;
command.Parameters.Add("cur_Locked", OracleType.Cursor).Direction = ParameterDirection.Output;
command.Parameters["var_barcode"].Value = stBarcode;// "DH448400001308120004CB1";
OracleDataAdapter daReader = new OracleDataAdapter(command);
DataSet ds = new DataSet();
daReader.Fill(ds);
ds.tables.count
ds.tables[i]
OracleConnection connection = new O