System.Web.UI Namespace
Provides design-time support for RAD designers to generate and parse Data Binding Expression Syntax. This class cannot be inherited.
Visibility |
Constructor |
Parameters |
public |
DataBinder |
( )
|
Visibility |
Name |
Parameters |
Return Type |
public static |
Eval |
(
Object
container
,
String
expression
,
String
format
)
|
String
|
public static |
Eval |
(
Object
container
,
String
expression
)
|
Object
|
public static |
GetDataItem |
(
Object
container
)
|
Object
|
public static |
GetDataItem |
(
Object
container
,
Boolean&
foundDataItem
)
|
Object
|
public static |
GetIndexedPropertyValue |
(
Object
container
,
String
propName
,
String
format
)
|
String
|
public static |
GetIndexedPropertyValue |
(
Object
container
,
String
expr
)
|
Object
|
public static |
GetPropertyValue |
(
Object
container
,
String
propName
)
|
Object
|
public static |
GetPropertyValue |
(
Object
container
,
String
propName
,
String
format
)
|
String
|
public static |
IsBindableType |
(
Type
type
)
|
Boolean
|
|
You can use the overloaded Eval method of this class in Web Forms page data-binding syntax. This provides an easier syntax to remember than standard data binding, but because DataBinder.Eval provides automatic type conversion, can result in slower server response times.
For more information about data binding to ASP.NET server controls, see Data Binding in Web Forms.
Data Binding Expression Syntax