日期:2014-05-18  浏览次数:20399 次

读取一个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~