Name
BoundColumn
Synopsis
The BoundColumn
class represents the
default type of column used in a DataGrid
control. A BoundColumn
is “bound,” or linked, to a
specific field in a data source. It provides a DataField
property that
specifies the field used from the data source for the column’s content. As with all ASP.NET
data binding, the “bind” is in one direction: from the database to the output control.
Public Class BoundColumn : Inherits DataGridColumn ' Public Constructors Public Sub New() ' Public Shared Fields public Shared ReadOnly thisExpr As String // =! ' Public Instance Properties Overridable Public Property DataField As String Overridable Public Property DataFormatString As String Overridable Public Property ReadOnly As Boolean ' Public Instance Methods Overrides Public Sub Initialize() Overrides Public Sub InitializeCell( ByVal cell As TableCell, ByVal columnIndex As Integer, ByVal itemType As ListItemType) ' Protected Instance Methods Overridable Protected Function FormatDataValue( ByVal dataValue As Object) As String End Class
Hierarchy
System.Object→DataGridColumn(System.Web.UI.IStateManager)→ BoundColumn
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.