PDBImageColumn assembly



Download : PDBImageColumn.zip

TDBImageColumn is custom DataGrid column that allows using images in the grid (not link to the images) directly from database without any temporary files needed on server or another aspx page that will return just image stream. It bounds on Image type field in database. TDBImageColumns adds just one additional property, Image filed name - DataField just like BoundColumn does. You can see TDBImageColumn in action here : example grid .

TDbImageColumn is using TStreamImage to render image from database, therefore you must declare TStreamImage IHttpModule implementation in your web.config, there are more detailed instructions and examples in PDBImageColumn.zip archive. Since there is no design support for web forms DataGrid, TDBImageColumn uses TStreamImage version that don't have design time suport, because of that automatic registration of TStreamImage IHtttpModule implementation doesn't also desn't work, so you will have to declare it in your web.config file.

Using PDBImageColumn