如何将图像绑定到我的网格和Datagridview [英] How Do I Bound An Image To My Grid And Datagridview

查看:77
本文介绍了如何将图像绑定到我的网格和Datagridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在mssqlserver中有一个名为图像信息的表,其中包含 imagename varchar(10),图像类型varchar(10),图像内容varbinary(max)列我将它绑定到我的gridview,它在griddview的第三列中显示如下这样 system.byte []。height =80px

I have a table in mssqlserver of name image information with columns of imagename varchar(10),image type varchar(10),image content varbinary(max) if i bound this to my gridview it was displaying like this in its third column of griddview like system.byte[].height="80px"

推荐答案

参考:



使用C#与asp.net 在gridview中绑定图像[ ^ ]
Refer this:

Bind image in gridview using C# with asp.net[^]


这篇关于如何将图像绑定到我的网格和Datagridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆