上传图片
public string UploadImage(HttpPostedFileBase imgFile) { bool b = upload(imgFile.InputStream,filepath,filename) } public bool upload(Steam imageStream,string filepath,string filename) { stream fs= imageStream; BinaryReader r = new BinaryReader(fs); byte[] postArray= r.ReadBytes((int)fs.Length); }
111111