Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.
Dim p As New Page 'Create a new Page instance and a server-side form Dim hf As New HtmlForm p.Controls.Add(hf) 'Build up the control hierarchy hf.Controls.Add(wholeform) Dim SB As New StringBuilder Dim SW As New StringWriter(SB) Dim htmlTW As New HtmlTextWriter(SW) p.DesignerInitialize() p.RenderControl(htmlTW) 'Call the page's RenderControl() method p = Nothing strEmailBody = SB.ToString() ... code to email
|Considerations when having IDisposable private member variables||4||28|
|Calling a function in different page from another page||6||26|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
8 Experts available now in Live!