摘要: System.Web.UI.WebControls.DataGriddatagrid=newSystem.Web.UI.WebControls.DataGrid();datagrid.ID="excelGrid1";datagrid.DataSource=data;datagrid.DataBind();stringfilename="table.xls";filename=System.Web.HttpUtility.UrlEncode(System.Text.Encoding.UTF8.GetBytes(filename));//导出System.W 阅读全文
posted @ 2012-08-14 11:42 吴永富 阅读(1343) 评论(0) 推荐(0) 编辑