难到csdn人情那么冷谈,一点互相帮助的精神都没有.

解决方案 »

  1.   

    获得当前路径:
    string filepath=documentpath+"//"+filename+".xls";string AbsoluteAddress = Server.MapPath(filepath).ToString().Trim();打开对话框----我不知道是什么意思,你要什么样的对话框?
      

  2.   

    打开对话框:window.alert()
    模态显示页面:
    <BUTTON onclick="window.showModalDialog('dialog.htm')">Search</BUTTON>
    window.confirm()
    window.prompt()
      

  3.   

    打开对话框
    <input type="file" id="fleTxt">
      

  4.   

    下面的示例返回包含指定 Web 站点的虚拟目录的物理路径。
    String FilePath;
    FilePath = Server.MapPath("MyWebSite");