Puoi sfruttare l'attributo hasrows del datareader
ad esempio
codice:if myReader.HasRows then 'il valore massimo è... else 'nessuna riga presente end if
Puoi sfruttare l'attributo hasrows del datareader
ad esempio
codice:if myReader.HasRows then 'il valore massimo è... else 'nessuna riga presente end if