This documentation is archived and is not being maintained.

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.


[Visual Basic]
NotInheritable Public Class DataBinder
public sealed class DataBinder
public __gc __sealed class DataBinder
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.


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.


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