Here p_ebond_id is output parameter and its datatype is number below code am using but getting error.Please tell where am going wrong.
OracleParameter pebondidout = new OracleParameter();
pebondidout.ParameterName = "p_ebond_id";
pebondidout.Direction = ParameterDirection.Output;
pebondidout.Size = 1;
pebondidout.ArrayBindSize = new int[1] { 100 };
pebondidout.OracleDbTypeEx = OracleDbType.Varchar2;
pebondidout.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
Orcmd1.Parameters.Add(pebondidout);
Orcmd1.Connection = Oracon;
Oracon.Open();
int k = Orcmd1.ExecuteNonQuery();
Resultset = (string[])Orcmd1.Parameters["p_ebond_id"].Value;
Thanks in Advance