THis below code works fine as a single object(appTestRec r = new appTestRec();) but when i convert this to array type (appTestRec[] rec = new appTestRec[2];)
getting error: Wrong number of type or argument.
Please help me conver this to Array type.
i have already made change at stored procedure level to accept Array
static void Main(string[] args)
{
//appTestRec[] rec = new appTestRec[2];
//r
appTestRec r = new appTestRec();
//r.Array[0] = new appTestRec();
//r.Array[0].RISK_NAME = "test";
r.RISK_NAME = "test";
////tbl.Value
//rec[0] = new appTestRec();
//rec[1] = new appTestRec();
//rec[0].RISK_NAME = "test";
//rec[1].RISK_NAME = "test1";
OracleConnection con = new OracleConnection();
con.ConnectionString = "User ID=user123; Password ...
Go to the complete details ...