110,535
社区成员
发帖
与我相关
我的任务
分享
if (!dr.IsNull("图片"))
{
byte[] data = new byte[0];
data = (byte[])dr["图片"];
int bmpSize = new int();
bmpSize = data.Length;
MemoryStream ms = new MemoryStream();
ms.Write(data,0, bmpSize);
Bitmap bmp;
bmp = new Bitmap(ms);
picbox.Image = bmp;
}