Buongiorno a tutti.

Sto usando il componenete SqlDataSource per leggere un dato da un database Oracle.

Codice PHP:
String error_r;
System.Data.OracleClient.OracleDataReader dr_r;

String sql_r "select NOME from tabella_user " 
                   
"where COGNOME = 'Rossi' ";

SqlLogin.SelectCommand sql_r;
SqlLogin.DataBind(); 
Come faccio a sapere se la query è andata a buon fine (a livello di sintassi), o ha prodotto un errore?

Grazie