你的2个问题我认为都实现不了。

解决方案 »

  1.   

    更改路径可以,修改这个保存路径的对话框可能不行。
      

  2.   

    下载原码private void DownLoadFile()
    {
       string  FilePath=filepath.Text.Trim();//下载文件路径
    string FileExp="";
    try
    {
    int dot = FilePath.LastIndexOf(".");// 取得文件名(抱括路径)里最后一个"."的索引
    int line= FilePath.LastIndexOf("\\");// 取得文件名(抱括路径)里最后一个"\"的索引
    FileExp = FilePath.Substring(dot).ToLower() ;//取得文件扩展名
    if(FileExp==".xls")
    Response.ContentType="Application/x-msexcel";
    if(FileExp==".doc")
    Response.ContentType="Application/msword";
    Response.AppendHeader("content-disposition","attachment; filename=" + FilePath);
    Response.WriteFile(FilePath);
    }
    catch
    {}
    }