I am using C# ASP.NET and DB is oracle. I created a stored procedure
with two parameters
1. p1 which is a in integer array 
2. p2 which is a out string

con = new OracleConnection(conString);
con.Open();

sql = "stored procedure name";
cmd = new OracleCommand(sql, con);
cmd.CommandType = CommandType.StoredProcedure;

OracleParameter p2 = new OracleParameter("p2", OracleType.VarChar); 
p2.Direction = ParameterDirection.Output;

How can I define the p1. 

SOmebody told me that I need to use ODP.NET. 

Can I use ADO.NEt only to bind array parameter in stored procedure?

Thank you for your help






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Microsofts_C_Sharp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to