Hi,
Following is my html code
<table id="grdtable" cellspacing="0" style="vertical-align:top; border-collapse:collapse;"> <tr><td>No</td><td>Charge</td><td>Start.</td><td>End.</td><td>No</td><td>Total</td></tr> <tr><td>1</td><td><asp:Label ID="lb1" runat="server">7</asp:Label></td><td><input type="text" style="width:30px" value=100 runat="server"/></td><td><input type="text" style="width:30px" value=200 " runat="server" /></td><td><input type="text" style="width:30px" value=100 runat="server" /></td><td><input type="text" style="width:30px" value=700 runat="server" /></td></tr> <tr><td>2</td><td><asp:Label ID="lb1" runat="server">8</asp:Label></td><td><input type="text" style="width:30px" value=10 runat="server"/></td><td><input type="text" style="width:30px" value=100 runat="server" /></td><td><input type="text" style="width:30px" value=90 runat="server" /></td><td><input type="text" style="width:30px" value=720 runat="server" /></td></tr> </table>
its output is
No Charge Start End No Total
1 7 100 200 100 700
2 8 10 100 90 720
here No(first) is inside a td,charge is inside label control rest are in textbox
My requirement is to convert the above table into a string
like
var strMsg= No Charge Start End No Total
1 7 100 200 100 700
2 8 10 100 90 720
this is for sending sms
How to do this
Regards
Baiju