Export (0) Print
Expand All

DataBinder Class

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

For a list of all members of this type, see DataBinder Members.

System.Object
   System.Web.UI.DataBinder

[Visual Basic]
NotInheritable Public Class DataBinder
[C#]
public sealed class DataBinder
[C++]
public __gc __sealed class DataBinder
[JScript]
public class DataBinder

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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 Expression Syntax.

Requirements

Namespace: System.Web.UI

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

DataBinder Members | System.Web.UI Namespace | Data Binding Expression Syntax | Accessing Data with ASP.NET

Show:
© 2015 Microsoft