string url = Server.MapPath("..\\upImg") + "\\" + System.DateTime.Now.ToString("yyMMddHHmmss") + Path.GetExtension(FileUpload1.FileName);            
                FileUpload1.SaveAs(url);
                Label1.Text = FileUpload1.PostedFile.FileName;
                Label2.Text = url;
                Response.Write("<scrīpt>opener.document.getElementById('tbPicture').value='"+Path.GetFileName(url)+"';</scrīpt>");

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2021-12-08
  • 2021-09-02
  • 2022-12-23
  • 2021-11-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2021-12-21
相关资源
相似解决方案