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

Data Binding

FirstPrev12345NextLast v
Name:Naomi Moreno
Address:918 Park Lane
Phone:1 (11) 500 555-0
Name:Logan Hernandez
Address:7625 Cloudview Dr.
Phone:1 (11) 500 555-0
Name:Heidi Lopez
Address:2514 Via Cordona
Phone:1 (11) 500 555-0
Name:Rafael Raje
Address:5269 Mt. Trinity Court
Phone:1 (11) 500 555-0
Name:Jessie She
Address:5866 Military E
Phone:1 (11) 500 555-0
Name:Alfredo Gomez
Address:9430 La Vista Avenue
Phone:1 (11) 500 555-0
FirstPrev12345NextLast v


This demo illustrates the ability of the DevExpress DataView extension to bind to a data source. In this sample, the extension is bound to the XmlDataSource component, which obtains data from an xml file with the following structure.

<Contacts>
 <Contact Name="..." Address="..." Phone ="..." PhotoUrl ="..." />
 ...
</Contacts>

The appearance of DataView data items is templated utilizing the SetItemTemplateContent method.

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
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxImageAndDataNavigationDemos