2007年3月24日

GridView 导出为Word和Execl文件

摘要: 1、在有页面中添加一个GridView1,添加一个button 2、在页面加载事件中为GridView1填充数据 3、button 控件的Click事件中添加如下代码: string style = @" .text { mso-number-format:\@; } "; Response.Clear(); Response.AddHeader(... 阅读全文

posted @ 2007-03-24 22:59 myer 阅读(658) 评论(0) 推荐(0) 编辑

导航