【问题标题】:upload the file in the server or iis在服务器或 iis 中上传文件
【发布时间】:2011-04-08 11:48:03
【问题描述】:

如何使用 ASP.NET 在 IIS 中保存文件

我想将我的文件保存在这个路径中:

Server.MapPath("http://192.168.1.6:150/clinicalclient/Rosefiles/" 
                 + DropDownList1.Text + '/');

【问题讨论】:

    标签: asp.net file-upload


    【解决方案1】:

    你快到了,我想你想要:

    Server.MapPath("~/clinicalclient/Rosefiles/" + DropDownList1.Text);
    

    【讨论】:

      猜你喜欢
      • 2020-05-14
      • 2022-07-08
      • 2012-09-07
      • 1970-01-01
      • 2012-08-07
      • 1970-01-01
      • 2020-11-25
      • 2020-11-13
      • 1970-01-01
      相关资源
      最近更新 更多