Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Binding to Binary Data

Pumpkins
Pumpkins
Blueberries with leaves on wooden background
Blueberries with leaves on wooden background
Two oak mushrooms in the moss
Two oak mushrooms in the moss
Wild strawberries
Wild strawberries
Olives and olive oil
Olives and olive oil
Photo of very fresh tomatoes
Photo of very fresh tomatoes
White steamed rice
White steamed rice

The DevExpress Image Gallery (ASPxImageGallery) control has the ability to display binary images. In this demo, the image gallery is bound to an EntityDataSource object from the DataSourceID property. The ImageContentBytesField property specifies the data source field from which binary images should be retrieved. The ASPxImageGallery control caches the images to the folder specified by the ImageCacheFolder property.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxImageAndDataNavigationDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxImageAndDataNavigationDemos