I have a div tablePrint
in aspx page. I want to get all elements of this div in my web service. Actually I have to send email from my service that has a html body so I want to send tablePrint
as email body. I have no idea how to get elements of tablePrint
in my web service. How can I do this?
<div class="pagecontent2">
<asp:Panel ID="pnl" runat="server">
<div id="tablePrint">
<div style="BORDER-BOTTOM: #dfdfdf 3px solid; PADDING-BOTTOM: 1px; MARGIN-BOTTOM: 10px; HEIGHT: 25px;">
<div style="FLOAT: left; COLOR: #007ec6; FONT-SIZE: 18px; VERTICAL-ALIGN: bottom; FONT-WEIGHT: bold; PADDING-TOP: 5px; padding-left:10px;">
<div style="float: left;">
CompanyName
</div>
<div style="float: left; padding: 5px 0 0 200px;">
</div>
</div>
<div style="TEXT-ALIGN: right; FLOAT: right">
<div style="color:gray;padding-top:8px;padding-right:5px;">Receipt</div>
</div>
<div class="clear">
</div>
</div>....