Пример #1
0
        void TlbImprimirClick(object sender, EventArgs e)
        {
            var startOfMonth = new DateTime(Convert.ToInt32(cmbAno.Text), Convert.ToInt32(cmbMes.Text), 1);
            var DaysInMonth  = DateTime.DaysInMonth(Convert.ToInt32(cmbAno.Text), Convert.ToInt32(cmbMes.Text));
            var lastDay      = new DateTime(Convert.ToInt32(cmbAno.Text), Convert.ToInt32(cmbMes.Text), DaysInMonth);



            DataTable TFactCIva = OperacionesComunes.TablaChequesFacturasCIVA(startOfMonth, lastDay);

            Imprimir.Imprimir_ListadoDeFactCIva(TFactCIva);
        }