id
runat="server"
div
<div id="div1" runat="server">Your content</div>
div1
string htmlInDiv1 = div1.InnerHtml;
Dim htmlInDiv1 As String = div1.InnerHtml
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)