Exemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            IDictionary <string, DataTable> dict = new Dictionary <string, DataTable>();
            DataTable dt = new ZhongLi.BLL.News().GetList("").Tables[0];

            dt.Columns[0].ColumnName = "ID";
            dict.Add("order", dt);
            PublicMethod.DumpExcel(HttpContext.Current, "order", dict);
        }