G
genc_ymeri
Hi,
I would like to bind the hyperlink column but I don't see how to.
I tried somethink like this but instead of showing ID nummbers it shows
"ID=ID"
Any tip is very much appreciated.
Genc
PS:
Code I tested with
aHLCol.DataTextField = "RR_ID"
aHLCol.DataNavigateUrlField = "FILEPATH"
aHLCol.DataNavigateUrlFormatString = "{0}?ID=" &
resultTable.Column("ID").ToString ()
aHLCol.HeaderText = "http:/cnn.com/{0}"
dgSearchResults.Columns.Add(aHLCol)
dgSearchResults.DataSource = resultTable
dgSearchResults.DataBind()
I would like to bind the hyperlink column but I don't see how to.
I tried somethink like this but instead of showing ID nummbers it shows
"ID=ID"
Any tip is very much appreciated.
Genc
PS:
Code I tested with
aHLCol.DataTextField = "RR_ID"
aHLCol.DataNavigateUrlField = "FILEPATH"
aHLCol.DataNavigateUrlFormatString = "{0}?ID=" &
resultTable.Column("ID").ToString ()
aHLCol.HeaderText = "http:/cnn.com/{0}"
dgSearchResults.Columns.Add(aHLCol)
dgSearchResults.DataSource = resultTable
dgSearchResults.DataBind()