Answers for "c# select oracle database"

C#
0

c# select oracle database

DataSet ds = new DataSet(); 
 using(OracleConnection con  = new OracleConnection(connectionstr))
 {
     using(OracleCommand cmd = con.CreateCommand())
     {
         con.Open();
         cmd.CommandText = "SELECT * FROM all_users";
         OracleDataAdapter adap = new OracleDataAdapter(cmd);
         adap.Fill(ds);
     }
 }
Posted by: Guest on January-21-2021

C# Answers by Framework

Browse Popular Code Answers by Language