摘要:
protected void submit_Click(object sender, EventArgs e) { string name = FileUpload1.FileName; int size = FileUpload1.PostedFile.ContentLength; string type = FileUpload1.PostedFile.ContentType; //image/pjpeg // string type2 = name.Substring(name.LastIndexOf(".") + 1); //jpg 不安全 string ipath 阅读全文