关于Dev中 GridContrl 的 layoutview 问题 在线等、、、谢谢
--------------------编程问答-------------------- 除 --------------------编程问答-------------------- qq78925271 我也在弄这个呢 一起学习吧 --------------------编程问答-------------------- repositoryItemPictureEdit控件只能用System.Byte[]来显示图片。 把你的图片转成byte[]格式赋值给repositoryItemPictureEdit就可以了private byte[] getImageByte(string imagePath)
{
if (!File.Exists(imagePath))
{
return null;
}
FileStream files = new FileStream(imagePath, FileMode.Open);
byte[] imgByte = new byte[files.Length];
files.Read(imgByte, 0, imgByte.Length);
files.Close();
return imgByte;
}
补充:.NET技术 , C#