62,244
社区成员




FileInfo fi = new FileInfo(PicPath);
string PicName = DateTime.Now.ToString("yyyyMMddhhmmss") + type;
Bitmap objBitmap = new Bitmap(PicPath);
string PathPicNew = "~/images/" + PicName;
objBitmap.Save(HttpContext.Current.Server.MapPath(PathPicNew));
objBitmap.Dispose();