c#代码:
WebRequestmywebrq;
WebResponsemywebresp;
StreamReadersr;
Streamwritersw;
PrivatevoidPage_Load(objectsender,EventArgse)
{
mywebreq=WebRequest.Create(
sw.writeling(strHtml);
sw.close();
Response.writeFile(Server.Mappath("Test.htm"));
}