Telerik:radGrid中的图像列 [英] Image column in Telerik:radGrid
问题描述
亲爱的,
我正在Web应用程序中使用telerik RadGrid,并且我想将从数据库中检索到的图像(byte [])绑定到此网格的列中,因此在Windows中很容易,我们也可以使用(Response.BinaryWrite((byte [])dataReader ["picture"]);),但它的类型为void,所以我无法将其分配给图像或列a可以在整个页面上显示它,而我的情况不是网格中的前排行,我不是
类别|价格|信息| 图片
Dears,
i am using telerik RadGrid in web application and i want to bind an image(byte[]) retrieved from database into a column of this grid it is easy in windows and also we can use (Response.BinaryWrite((byte[])dataReader["picture"]);) but it is of type void and so i cant assign it to an image or column a can display it on the whole page and this is not the case my case is foreache row in grid i have
category | price | Information | picture
best regards.
推荐答案
此链接可能会帮助您
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx
http://www.telerik.com/help/aspnet/grid/grdcolumntypes.html
thanx
Hi
This link May be help you
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx
http://www.telerik.com/help/aspnet/grid/grdcolumntypes.html
thanx
这篇关于Telerik:radGrid中的图像列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!