asp.net.ph

DataBinder Class

System.Web.UI Namespace


Provides design-time support for RAD designers to generate and parse Data Binding Expression Syntax. This class cannot be inherited.

DataBinder Class Members

Collapse   Constructors

Visibility Constructor Parameters
public DataBinder ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public static EnableCaching Boolean [ Get , Set ]

Collapse   Methods

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

Remarks

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.

See Also

Data Binding Expression Syntax Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph