A
Aussie Rules
Hi,
I have a need to extract some data from a sql database, which I store in a
dataset, and display this in a HTML list tag.
I have the result set in my code behind file, but have no idea on how to get
this into the HTML.
In the HTML I have this snippet
<ul>
<li><a href="somepage.aspx?param=1">Link Text</a></li>
<li><a href="somepage.aspx?param=1">Link Text</a></li>
<li><a href="somepage.aspx?param=1">Link Text</a></li>
</ul>
I want to be able to replace the param value, and the link text with values
from the SQL dataset in the code behind file
How can I do this ?
Thanks
I have a need to extract some data from a sql database, which I store in a
dataset, and display this in a HTML list tag.
I have the result set in my code behind file, but have no idea on how to get
this into the HTML.
In the HTML I have this snippet
<ul>
<li><a href="somepage.aspx?param=1">Link Text</a></li>
<li><a href="somepage.aspx?param=1">Link Text</a></li>
<li><a href="somepage.aspx?param=1">Link Text</a></li>
</ul>
I want to be able to replace the param value, and the link text with values
from the SQL dataset in the code behind file
How can I do this ?
Thanks