【问题标题】:linking to a shared folder in firefox链接到Firefox中的共享文件夹
【发布时间】:2010-06-07 19:43:18
【问题描述】:

我有一个 asp 超链接,我想将它链接到在共享文件夹中找到的 .doc 文件。
我可以在 Internet Explorer 中做到这一点,但在 Firefox 中却没有:
我的代码:

hlc.NavigateUrl = @"file:\\direct\upload\file.doc";

【问题讨论】:

    标签: c# html firefox


    【解决方案1】:

    可能想要使用正斜杠(按照惯例)

    hlc.NavigateUrl = @"file:///direct/upload/file.doc";
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-01-30
      • 2021-06-03
      • 1970-01-01
      • 2013-09-12
      • 2017-03-25
      • 2016-10-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多