好吧,所以即时通讯设法使一个文字包含输入字段。当用户完成并发送记录到服务器我想阅读所有theese领域,跳过所有其余的..阅读单词输入字段?
我有麻烦定位如何从我的应用程序读取theese标签。
示例模板可以在这里找到:Here
我想是来读取每个标签的文字并进行保存。
Microsoft.Office.Interop.Word.Application ap = new Microsoft.Office.Interop.Word.Application();
try
{
Document doc = ap.Documents.Open(txtFile.Text, ReadOnly: true, Visible: false);
doc.Activate();
//What to do here?
ap.Documents.Close(SaveChanges: false, OriginalFormat: false, RouteDocument: false);
}
catch (Exception ex)
{
txtRes.Text += "Exception Caught: " + ex.Message + Environment.NewLine;
}
是您的ASP.NET应用程序或Windows服务或类似的? – Yahia
ASP.NET优选 – Anders
好的 - 请参阅下面的答案...... – Yahia