Here is how I give a url to my asp.net hyperlink in c#
reportHyperLink.NavigateUrl = "\\temporary_reports\\" + "department_report" + "_" + numberOfTicks + ".xls";
This is how it is displayed in internet explorer.
http://myportal/temporary_reports/department_report_20091126_11_25_56_914.xls
This is how it is 开发者_如何转开发displayed in firefoxr.
http://myportal/myproject/\temporary_reports\department_report_20091126_11_25_56_914.xls
How will I solve that difference problem ?
Thanks.
Try with slashes instead of backslashes:
reportHyperLink.NavigateUrl = string.Format(
    "/temporary_reports/department_report_{0}.xls", numberOfTicks);
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论