Ciao.

Come recupero ed inserisco in una variabile gli alias tac, tap e tot recuperati con questa query? Grazie

codice:
String strQuery = " SELECT " +                       
                  " t_anno_corrente AS tac " +                         
                  ",t_anno_precedente AS tap " +
                  ",tot_anno_precedente AS tot " +
                  " FROM miaTabella " +
                  " ORDER BY ID DESC; ";

       OdbcCommand objCmd = new OdbcCommand(strQuery, myConnectionString);
       objCmd.CommandType = CommandType.Text;
       objCmd.CommandText = strQuery;