asp.net 读取word内容 asp.net 怎么读取word里面的内容到div里面显示在页面上,包括格式字体。最好不用组件。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 csdn中有的么,参见:http://blog.csdn.net/calizy/article/details/3178570 读出来比较简单了:private string ReadFile(string filePath){ string text = string.Empty; using (StreamReader sr = new StreamReader(filePath, Encoding.UTF8)) { text = sr.ReadToEnd(); sr.Close(); } return text;} 百度 asp.net word导入导出 gridveiw简单问题。 求救Session的用法 我在动态生成静态页面的问题,在线结贴... 怎样将参数作为cookies的变量名 请教两个问题,希望尽快得到回复 pocket pc pda mobilephone 的初级问题。 有谁知道21cn的sqlserver数据库怎么连接? 关于数据库连接释放的问题 怎么实现类似qq的导航动态下拉菜单? 我是菜鸟,请教高手 是否为tomcat 占用端口,还是域名 急 急 急 怎么破!
private string ReadFile(string filePath)
{
string text = string.Empty;
using (StreamReader sr = new StreamReader(filePath, Encoding.UTF8))
{
text = sr.ReadToEnd();
sr.Close();
}
return text;
}