Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capture the contents of a webform when run

Status
Not open for further replies.

dpdg

Programmer
May 23, 2005
148
US
I have a report that I created with a DataView (VS2005) on a webform. I want to capture the contents of that page when it is run (programatically) and put it into file so I can attach it to an email.

Is there an easy way to do this?
 
Yes, you can use the RenderControl method of the Control and write it out to a HtmlTextWriter


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top