上传图片

   

  
  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);
}

 

posted @ 2019-01-12 19:59  wonderfulviews  阅读(128)  评论(0编辑  收藏  举报