Hi I have a NameValueCollection which I would like to use to build a html table. so I need to loop through it and add <tr> around the rows and <td> around the values.
The collection has forename="Bill", surname="Jones",Address="1 A...."
forename="Tom", surname="Brown",Address="6C...."
I want to build this string:
<table><tr><td>Bill</td><td>Jones</td><td>1 A...</td></tr>
<tr><td>Tom</td><td>Brown</td><td>6C..</td></tr></table>
The collection has forename="Bill", surname="Jones",Address="1 A...."
forename="Tom", surname="Brown",Address="6C...."
I want to build this string:
<table><tr><td>Bill</td><td>Jones</td><td>1 A...</td></tr>
<tr><td>Tom</td><td>Brown</td><td>6C..</td></tr></table>