What im doing is I have a dynamic table and creating rows which all works fine. In one of the cells im trying to create a link which when clicked will open a file. But when I clicked the link it give me an error saying cannot find server at file. Then what I do to check the file is I type the location into the address bar and it finds it but changes the address to (file:///c:/inetpub/wwwroot/test1.txt). So what I did was put that address into the anchor tag but then its still doesnt work. Here is what I have so far. Any help would be very appreciated.
tblrow = New TableHeaderRow
tblcell = New TableHeaderCell
tblcell.Text = "<a href='C://inetpub/wwwroot/test1.txt' target='_blank'>" & Test & "</a>"
tblrow.Cells.Add(tblcell)
tableName.Rows.Add(tblrow)