a guest Jan 18th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // инициализируем команду
  2. OracleCommand cmd = new OracleCommand();
  3. cmd.Connection = connect;
  4. cmd.CommandType = CommandType.Text;
  5. cmd.CommandText = @"SELECT NAME, CODE FROM TABLENAME";
  6. // открываем поток
  7. OracleDataReader dr = cmd.ExecuteReader();
  8. dr.Read();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand