The HTML code is shared here getting from middleware(other side, different database, where I have no access).
I received it and showed this table in "label" in aspx file. Just showed table in label.(I was not able to hide "long integer", so i did hide label to hide "long string" then used again table to show table data).
Where I didn't run any loop, not used any "td id" also.
You gave me solution of xml parsing using loop, here need solution like that. Where have with extra requirements as mentioned::
have to show card_no with "a href" to browse in new link. Also i need to show card_no like "1111******123456" instead of "1111234567123456".
sample.aspx.cs ::
Mtable.Text = outputM;
sample.aspx::
<div id="div1" style="display: none;">
<asp:Label ID="Mtable" runat="server" Text=""></asp:Label>
</div>
var cardNum = document.getElementById('<%= txtmno.ClientID %>').value;
var x = document.getElementById(cardNum + '_CardList').innerHTML;
document.getElementById("mtbl").innerHTML = x;
<table id="01717458720_CardList">
<tr>
<td id="product_type">
CREDIT CARD
</td>
<td id="card_no">
1111234567123456
</td>
<td id="card_status">
INACTIVE
</td>
<td id="acct_no">
N/A
</td>
<td id="name">
Mr. X
</td>
</tr>
<tr>
<td id="product_type">
DEBIT CARD
</td>
<td id="card_no">
0000000000000000
</td>
<td id="card_status">
ACTIVE
</td>
<td id="acct_no">
55555555555
</td>
<td id="name">
Mrs. Y
</td>
</tr>
</table>
</body>
</span>