http://yunhai.blogchina.com/blog/article_21034.736272.html
也许对你有帮助

解决方案 »

  1.   

    private void cmdExport_Click(object sender, System.EventArgs e)
    {
    //ExportToWord();
    //**********************************将整个页面内容导出到Word中
    Response.Clear(); 
    Response.Buffer= true; 
    Response.Charset="GB2312";    
    Response.AppendHeader("Content-Disposition","attachment;filename=FileName.doc"); 
    Response.ContentEncoding=System.Text.Encoding.GetEncoding("GB2312");//设置输出流为简体中文
    Response.ContentType = "application/ms-word";//设置输出文件类型为word文件。
    }
      

  2.   

    谢谢,今天会了一种javascript的方法,
     cym40011(萧雨)的方法我试一下,谢谢