How to Display Image in GridView Control Using Property
Author: DevASP Team
Download Source Code : 692_PropertyGrid.zip
In this article I will try to explain you how you can display images using property.
To begin with this article, create new application in ASP.Net 2.0. Add a GridView control and bind the Image control using ImageUrl attribute with database. The code for the .aspx page is as follows:
Now on .cs page add the following property:
Now on the page load bind the GridView control with database: