Assembly: System.Web.Mobile (in system.web.mobile.dll)
A field is of type ObjectListField. When you want to display multiple fields, you can specify multiple fields for each item in an object list. To create a field within the declaration of an ObjectList, you declare an ObjectListField as a <Field> element. Each field is associated with a property name. When a list item is bound to a data object, each field is bound to the corresponding property of the object.
The ObjectList provides three ways to define a field:
Declaratively, by using <Field> child elements within the object list
Programmatically, by constructing ObjectListField objects and adding them to the Fields member collection of the control
Automatically, by setting the AutoGenerateFields property to true.
- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.