The following code sample demonstrates how you can save the HTML produced by a web form’s DataGrid control using the RenderControl method Once you have the string of HTML you can easily save it as a file or email the result to a user