将单词文本内容加载到asp.net中的文本框中 [英] load the word text content into text box in asp.net

查看:67
本文介绍了将单词文本内容加载到asp.net中的文本框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,

我想将Ms word文档内容提取到asp.net的文本框中,

做完这样的事情,就可以完全在本地工作

但上传的服务器未显示后,该文本框为空

请给出解决方案

因为这是紧急要求.


Nandakumar.S

hi sir,

i want fetch the Ms word document content into text box in asp.net,

am done such things ,is working completely in local

but after uploaded server not showing ,the text box is empty

please give the solution

because it is urgent requirement.

By
Nandakumar.S

推荐答案

尝试一下
using (System.IO.StreamReader sr = new System.IO.StreamReader("TestFile.txt"))
{
TextBox1.Text = sr.ReadToEnd();
}


这篇关于将单词文本内容加载到asp.net中的文本框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆