读取一个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();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货