Exemplo n.º 1
0
        private void ItemBtnExport_Click(object sender, EventArgs e)
        {
            DataSet   ds = new DataSet();
            DataTable dt = DataGridViewHelper.DgvToTable(grid.MasterPrimaryGrid, "OperLog");

            ds.Tables.Add(dt);
            ExcelWriter.Write(ds);
        }
Exemplo n.º 2
0
        private void ItemBtnExport_Click(object sender, EventArgs e)
        {
            DataSet   ds = new DataSet();
            DataTable dt = DataGridViewHelper.DgvToTable(gridStockDetail.MasterPrimaryGrid, "StockDetail");

            ds.Tables.Add(dt);
            dt = DataGridViewHelper.DgvToTable(gridStock.MasterPrimaryGrid, "ReportOf" + "Stock");
            ds.Tables.Add(dt);
            ExcelWriter.Write(ds);
        }
Exemplo n.º 3
0
        private void ItemBtnExport_Click(object sender, EventArgs e)
        {
            DataTable dt = DataGridViewHelper.DgvToTable(grid, "VIEW_CalSafeQty");

            ExcelWriter.Write(dt);
        }
Exemplo n.º 4
0
        private void BtnExport_Click(object sender, EventArgs e)
        {
            DataTable dt = DataGridViewHelper.DgvToTable(grid.PrimaryGrid, EnumHelper.GetDescription(_billType));

            ExcelWriter.Write(dt);
        }
Exemplo n.º 5
0
        private void ItemBtnExport_Click(object sender, EventArgs e)
        {
            DataTable dt = DataGridViewHelper.DgvToTable(dgvBill, "VIEW_IO_SUMMARY_ByStock");

            ExcelWriter.Write(dt);
        }