2014年9月16日

Stream 和 byte[] 之间的转换

摘要: 北京网站建设-恒动时空一. 二进制转换成图片MemoryStream ms = new MemoryStream(bytes);ms.Position = 0;Image img = Image.FromStream(ms);ms.Close();this.pictureBox1.Image二. C... 阅读全文

posted @ 2014-09-16 23:11 静以修身俭以养德 阅读(260) 评论(0) 推荐(0) 编辑

Asp.net HttpWebRequest和HttpWebResponse发送和接受任何类型数据

摘要: 发送字符串数据发送数据string strId = "guest"; string strPassword = "123456"; string postData = "userid=" + strId; postData += ("&password=" ... 阅读全文

posted @ 2014-09-16 23:02 静以修身俭以养德 阅读(320) 评论(0) 推荐(0) 编辑

导航