c# + oracle
public int RunStoredProc(string procName, object[] prams){
OracleParameter[] oparam = new OracleParameter[prams.Length];
for (int i = 0; i < prams.Length; i++)
{
oparam[i] = prams[i] as OracleParameter;
}
OracleCommand cmd = CreateCommand(procName, oparam);
int iResult = cmd.ExecuteNonQuery();
return iResult;
}
怎么调用,有高手指点一下,谢谢, --------------------编程问答-------------------- MS:只是SqlParameter换成OracleParameter而已,机械替换即可
补充:.NET技术 , ASP.NET