protected void Save(object arg)
        {
            var paging = (SqlPaging)arg;
            var wrt    = new ExcelXmlWriter();
            var orders = paging.GetCustomData("*", "", OrderService.GetOrderFromReader);

            wrt.SaveOrdersToXml(_strFullPath, orders);
            CommonStatistic.IsRun = false;
        }
Esempio n. 2
0
    protected void Save(object arg)
    {
        var orders = (List <Order>)arg;
        var wrt    = new ExcelXmlWriter();

        wrt.SaveOrdersToXml(_strFullPath, orders);
        ExportStatistic.IsRun = false;
        //ExportStatistic.ThreadImport.Abort();
    }