private
{
String result="";
HttpWebResponse objResponse;
HttpWebRequest objRequest = ((HttpWebRequest) (WebRequest.Create(url)));
objRequest.Method ="GET";
objRequest.Timeout = 90000;
objRequest.KeepAlive =
objRequest.ProtocolVersion=HttpVersion.Version10;
ServicePointManager.Expect100Continue =
objRequest.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2";
objResponse = ((HttpWebResponse) (objRequest.GetResponse()));
result = sr.ReadToEnd();
result=result.Replace("javascript: window.print()","");
result=result.Replace("../Images/newsletter","http://www.nadp.org/images/newsletter");
sr.Close();
}
objResponse.Close();
Response.Write(ex.Message.ToString());