Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

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.

1 solution


This link May be help you

Share this answer
youssef_123 25-Oct-11 7:00am    
thanx bro i saw them before but they did not help me!
i now how to save the image and how to create a GridTemplateColumn and how to create image column in GridTemplateColumn but the idea is when i get the bytes from database i have to convert them into image in order to bind them to grid but the problem is how to convert the bytes into an image and what is the type of this image(binary image, asp:image, telerik:image)in order to be use in web application not windows in grid thanx again

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900