Beispiel #1
0
        public void RetornaUltimoValorFinal()
        {
            string SQL = "SELECT valorfinal FROM caixa ORDER BY idcaixa DESC LIMIT 1";

            cmd             = new MySqlCommand();
            cmd.CommandText = SQL;

            valorfinal = bd.RetornaValor(cmd);
        }