如何从C#的* .wiq文件中读取内容#
答
这适用于我。
using(System.IO.StreamReader sr = new System.IO.StreamReader(@"C:\temp\queryName.wiq"))
{
string allLines = sr.ReadToEnd();
}
工作项查询文件是一个XML文件。只需阅读您感兴趣的节点的文本。 – CodeCaster
我试图将.wiq文件作为XML文件加载,但这对我来说并不适用... – jujoew