摘要: 待更新~ 阅读全文
posted @ 2017-02-20 17:28 小猫钓鱼吃鱼 阅读(111) 评论(0) 推荐(0)
摘要: 第一 向数据库中存二进制的图片数据 //向数据库中以二进制的形式存储图片 try { //获取当前图片的路径 string FilePath = Server.MapPath("//hsPDFFiles/") + "zyh.jpg"; //将制定路径的图片添加到FileStream类中 FileSt 阅读全文
posted @ 2017-02-20 17:27 小猫钓鱼吃鱼 阅读(301) 评论(0) 推荐(0)
摘要: 第一步: /获取当前选择的图片 this.pictureBox1.Image = Image.FromStream(this.openFileDialog1.OpenFile()); //获取当前图片的路径 string path = openFileDialog1.FileName.ToStrin 阅读全文
posted @ 2017-02-20 15:54 小猫钓鱼吃鱼 阅读(3668) 评论(0) 推荐(1)
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> /// <summary> /// 上传图片 /// </summary> /// <param 阅读全文
posted @ 2017-02-20 15:42 小猫钓鱼吃鱼 阅读(358) 评论(0) 推荐(0)