Exemple #1
0
        /// <summary>
        /// 导出事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btnExport_Click(object sender, EventArgs e)
        {
            DataSet ds = _ExcelBLL.ExportHotPartListTwo(GetSqlWhere());

            if (ds.Tables.Count > 0)
            {
                this.DownloadFile(ds, "重点产品统计列表.xls", "PA03.xml");
            }
            else
            {
                new Sinoo.Common.MessageShow().ExportErrorMessage(this);
            }
        }