2013年8月19日
摘要: //C# 图片与byte[]之间以及byte[]与string之间的转换 using System; using System.IO; using System.Drawing; using System.Windows.Forms; using System.Drawing.Imaging; public class ImageConvert { //主要通过Stream作为中间桥梁 public static Image ByteArrayToImage(byte[] iamgebytes) { MemoryStream ms = new MemoryStream(iamgebytes); 阅读全文
posted @ 2013-08-19 17:23 雪山飞石 阅读(946) 评论(0) 推荐(0) 编辑
摘要: private void layoutView1_CustomUnboundColumnData(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDataEventArgs e) { Hashtable Images = new Hashtable(); if (e.Column.FieldName == "Image" && e.IsGetData) { DevExpress.XtraGrid.Views.Grid... 阅读全文
posted @ 2013-08-19 15:36 雪山飞石 阅读(222) 评论(0) 推荐(0) 编辑