Exemplo n.º 1
0
 protected void btnPrintCashReport_Click(object sender, EventArgs e)
 {
     if (ViewState["CashReportID"] != null)
     {
         CashReport cr = CashReport.Get(Convert.ToInt32(ViewState["CashReportID"]));
         PrintCashReports.PrintCashReport(cr);
     }
 }
Exemplo n.º 2
0
    protected void btnPintCashReport_Click(object sender, EventArgs e)
    {
        int id = GXGridView1SelectedValue;

        if (id > 0)
        {
            CashReport cr = CashReport.Get(id);
            PrintCashReports.PrintCashReport(cr);
        }
    }