上传照片时怎么读出照片的长度和宽度谢谢[解决办法]System.Drawing.Image upImage = System.Drawing.Image.FromStream(File1.PostedFile.InputStream); int width=upImage.Width; int height=upImage.Height;