Quantcast
Viewing latest article 3
Browse Latest Browse All 4

search within html file

Hi,

Just plz use the DOS's find method to specify the html file and do ur searching:

ProcessStartInfo info = new ProcessStartInfo("find \"html\"","c:\\name.html /n");
info.RedirectStandardOutput
=true;
info.UseShellExecute
= false;
Process p
= Process.Start(info);
StreamReader sr
= p.StandardOutput;
string s = sr.ReadToEnd();
Console.WriteLine(s);
sr.Close();


下载MSDN桌面工具(Vista,Win7)
我的博客园
慈善点击,点击此处


Viewing latest article 3
Browse Latest Browse All 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>