P
Phenom
In my app, I want to create a link from a field in a database, which
will always be a file path. I have bound the hyperlink to the db field.
I have set in code, the navigate.url to be the value I retrieve from
the dataset. Currently, I can see the path in the link and when I click
on it, IE will display the text 'start downloading from....' with the
path I expect to see. However, nothing is happening.
Here is the code I have with two different ways I have tried to set the
navigate.url property. Am I missing something? Is there a better way to
do this?
Thanks
hlinkImplement.DataBind()
' hlinkImplement.NavigateUrl =
RTrim(DsUpdate1.Tables(0).Rows(0)("doc_implement"))
hlinkImplement.NavigateUrl = "file://" &
RTrim(DsUpdate1.Tables(0).Rows(0)("doc_implement"))
will always be a file path. I have bound the hyperlink to the db field.
I have set in code, the navigate.url to be the value I retrieve from
the dataset. Currently, I can see the path in the link and when I click
on it, IE will display the text 'start downloading from....' with the
path I expect to see. However, nothing is happening.
Here is the code I have with two different ways I have tried to set the
navigate.url property. Am I missing something? Is there a better way to
do this?
Thanks
hlinkImplement.DataBind()
' hlinkImplement.NavigateUrl =
RTrim(DsUpdate1.Tables(0).Rows(0)("doc_implement"))
hlinkImplement.NavigateUrl = "file://" &
RTrim(DsUpdate1.Tables(0).Rows(0)("doc_implement"))