I want the user to be able to download a page
<p>I am using the code,</p>

<pre><code>    string loadFile = HttpContext.Current.Request.Url.AbsoluteUri;
    // this.Response.ClearContent();
    // this.Response.ClearHeaders();
    this.Response.AppendHeader("content-disposition", "attachment; filename " + filename);
    this.Response.ContentType ="application/html";

    this.Response.WriteFile("C:\\Users\\Desktop\\Jobspoint Website\\jobpoint3.0\\print.aspx");
    this.Response.Flush();
    this.Response.Close();
    this.Response.End();
</code></pre>

<p>to download an aspx page in asp.net C#.. But its only showing the html tags and static values... How can I save the entire page without html tags and with the values that retrieved from the database?<br>
Thanks...<br>
Leema</p>
