Hi,
There is a very simple solution but not the optimum solution .
You may use a HTML Formatting to do it .
In the design page
1. add Runat server DIV which will contain your Links
<div id="MyPDFs" runat="server">
</div>
and in the code behind
1. replace your for loop with this loop
for (int i = 0; i < db.dataSet.Tables["searchResult"].Rows.Count; i++)
{
string PDFlink = string.Empty;
string PDFTitle = string.Empty;
MyPDFs.InnerHtml += "<a href='" + PDFlink + "'>" + PDFTitle + "</a><br />";
}
and as i told u it'snot the optimum but it works
you may use Binding Expression as well
Thanks