ASP.NET Word导出样式显示的问题? asp.networdcss 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <input type="text" style="border:none; border-bottom:1px solid #000;"> try this:http://www.cnblogs.com/insus/archive/2009/02/28/1400266.html <input type="text" style="border-left:none; border-right:none; border-top:none; border-bottom:1px solid #000;"> 打印预览中显示Word文档 private Word.Application G_wa;//定义Word应用程序字段 private object G_missing = //定义G_missing字段并添加引用 System.Reflection.Missing.Value; private OpenFileDialog G_OpenFileDialog;//定义浏览文件夹字段 private void btn_Open_Click(object sender, EventArgs e) { btn_Open.Enabled = false;//将打开按钮设置为不可用 ThreadPool.QueueUserWorkItem(//开始线程池 (pp) =>//使用lambda表达式 { G_wa = //创建应用程序对象 new Microsoft.Office.Interop.Word.Application(); G_wa.Visible = true;//将文档设置为可见 object P_FileName = G_OpenFileDialog.FileName; Word.Document P_Document = G_wa.Documents.Open(//打开Word文档 ref P_FileName, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing); P_Document.PrintPreview();//开始预览 }); } private void txt_select_Click(object sender, EventArgs e) { G_OpenFileDialog = //创建打开文件对话框对象 new OpenFileDialog(); DialogResult P_DialogResult =//浏览文件 G_OpenFileDialog.ShowDialog(); if (P_DialogResult == DialogResult.OK)//确认已经选择文件 { btn_Open.Enabled = true;//启用打开按钮 txt_path.Text = //显示选择文件 G_OpenFileDialog.FileName; } } 问一个Ckeditor的插件问题。高分求助。 JS验证 大家都来讨论一下 WEB应用程序 上线需要注意的安全性 和 性能指数 用Timer控件读数据问题 用户验证 新到家公司,公司把这个任务给了我.晕啊.没有做过. 小弟正在配置.Text博客,遇到一个问题请教大虾. 投票系统中的柱状图是怎么做的? 路径不可识别的错误,20分 !! 如何将DataReader读出的数据显示到指定的位置?(高分急送,在线等!) 每条数据后修改 删除 按钮 根据选定值显示的问题 linq如何查询?
http://www.cnblogs.com/insus/archive/2009/02/28/1400266.html
private Word.Application G_wa;//定义Word应用程序字段
private object G_missing = //定义G_missing字段并添加引用
System.Reflection.Missing.Value;
private OpenFileDialog G_OpenFileDialog;//定义浏览文件夹字段 private void btn_Open_Click(object sender, EventArgs e)
{
btn_Open.Enabled = false;//将打开按钮设置为不可用
ThreadPool.QueueUserWorkItem(//开始线程池
(pp) =>//使用lambda表达式
{
G_wa = //创建应用程序对象
new Microsoft.Office.Interop.Word.Application();
G_wa.Visible = true;//将文档设置为可见
object P_FileName = G_OpenFileDialog.FileName;
Word.Document P_Document = G_wa.Documents.Open(//打开Word文档
ref P_FileName, ref G_missing, ref G_missing, ref G_missing, ref G_missing,
ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing,
ref G_missing, ref G_missing, ref G_missing, ref G_missing, ref G_missing,
ref G_missing);
P_Document.PrintPreview();//开始预览
});
} private void txt_select_Click(object sender, EventArgs e)
{
G_OpenFileDialog = //创建打开文件对话框对象
new OpenFileDialog();
DialogResult P_DialogResult =//浏览文件
G_OpenFileDialog.ShowDialog();
if (P_DialogResult == DialogResult.OK)//确认已经选择文件
{
btn_Open.Enabled = true;//启用打开按钮
txt_path.Text = //显示选择文件
G_OpenFileDialog.FileName;
}
}