BaseDataList.DataBind Method ()
Assembly: System.Web (in system.web.dll)
Use the DataBind method to bind the data source specified by the DataSource property to the data listing control. By binding the data source to a data listing control, the information in the data source is displayed in a data listing control.
The DataBind method is also commonly used to synchronize the data source and a data listing control after information in the data source is updated. This allows any changes in the data source to also be updated in a data listing control.
If the data source for the data listing control is specified by the DataSourceID property, you do not need to call the DataBind method. ASP.NET calls this method automatically to bind the specified data source control to the data listing control.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.