当前位置: 代码迷 >> ASP.NET >> 读取一个word的内容读,并在FreeTextBox控件中显示出来.该怎么处理
  详细解决方案

读取一个word的内容读,并在FreeTextBox控件中显示出来.该怎么处理

热度:819   发布时间:2013-02-25 00:00:00.0
读取一个word的内容读,并在FreeTextBox控件中显示出来.
读取一个word的内容读,并在FreeTextBox控件中显示出来.
读出来是可以了啦?如下,就是不懂怎么写到FreeTextBox中去?
读出来的代码:
Response.ClearContent();
                Response.ClearHeaders();
                Response.ContentType   =   "Application/msword ";
                string   UpFilePath   =   ConfigurationManager.AppSettings[ "AttachFiles "];
                UpFilePath   =   Request.ApplicationPath.ToString()   +   "\\ "   +   UpFilePath   +   "\\ ";
                UpFilePath   +=   "OA系统功能.doc ";
                string   s   =   UpFilePath;
              //   string   s   =   Server.MapPath( "//UpFiles//AttachFiles//OA系统功能.doc ");
                Response.WriteFile(s);
                Response.Write(s);
                Response.Flush();
                Response.Close();


------解决方案--------------------------------------------------------
mark~
  相关解决方案