string path = Server.MapPath("~") + @"\upload\photo\"; //@追路径,可随意改
this.FileUpload1.PostedFile.SaveAs(path + DateTime.Now.ToFileTime().ToString() + ".jpg");//以日期时间保存图片名称

相关文章:

  • 2021-06-13
  • 2022-12-23
  • 2021-11-11
  • 2021-08-30
  • 2021-05-21
  • 2022-12-23
猜你喜欢
  • 2022-01-05
  • 2021-12-14
  • 2021-07-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案