Free Trial Buy Now

Data View - Data Binding

First
Prev
1
2
3
4
5
Next
Last
All
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
First
Prev
1
2
3
4
5
Next
Last
All
v

Description

This demo illustrates how to bind ASPxDataView to a data source. It supports standard data binding and any object which implements the IEnumerable or IDataSource interface (e.g. SqlDataSource, XmlDataSource) may be used as a data source for this control.

In this sample, the ASPxDataView control is bound to the XmlDataSource component that obtains data from an xml file with the following structure.

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

The appearance of the ASPxDataView control's data items is defined via an ItemTemplate type template. Controls that compose the template are bound to data by using data binding expressions. (See ASPX code)

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.