如何写这样的代码啊
非常急,谢谢

解决方案 »

  1.   

    如果在虚拟目录下面直接连接就可以了。如果不是虚拟目录应该不行的。
      

  2.   

    怎么解决的啊?
    说出来大家看看啊
    大家忙了半天都不知道你是怎么解决的呢
      

  3.   

    to: kld3000(汪洋 $& 不放弃 &$)不好意思,才看到这个贴
    代码:
    exceltemp="e:\PRO_STD_SQC_T003.xls";
    System.IO.FileInfo fi = new System.IO.FileInfo(@exceltemp);
    string myPath = System.IO.Path.DirectorySeparatorChar + fi.Name;
    System.IO.File.Copy(fi.FullName,Server.MapPath("/")  + myPath,true);
    Response.Redirect(myPath);