Is any new Oracle data provider? Can a sample using a library (ASP) share a link to the net code?
I have a web application code that uses System.Data.OracleClient classes and wants to migrate to the new Oracle data provider for the Net.
Thank you
Your code will be sent to any standard ado Can see as a net code and you will be using an OracleConnection :
var connectionString = "data source = ORCL; user id = user; password = PWD; "; (Var conm = new using OracleConnection (connectionString)) (var cmd = conn.CreateCommand ()) (conn.Open (); Cmd.CommandText = "select name by my name"; (Var reader = cmd. When using ExecuteReader ()) {reader.Read ()} {string name = reader.GetString (0); // TODO: Process results here}}}
Comments
Post a Comment