Below is the code for retrieving datatable from database
protected DataTable ExecuteDataTableSQL(string strSQL) { using (OracleConnection connection = new