Main Page

  Previous Section Next Section


System.Web.UI.WebControls (system.web.dll)class

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 : DataGridColumn {
// Public Constructors
   public BoundColumn( );
// Public Static Fields
   public static readonly string thisExpr;          // =!
// Public Instance Properties
   public virtual string DataField{set; get; }
   public virtual string DataFormatString{set; get; }
   public virtual bool ReadOnly{set; get; }
// Public Instance Methods
   public override void Initialize( );               // overrides DataGridColumn
   public override void InitializeCell(TableCell cell, int columnIndex, ListItemType itemType); 
              // overrides DataGridColumn
// Protected Instance Methods
   protected virtual string FormatDataValue(object dataValue);


System.Object DataGridColumn(System.Web.UI.IStateManager) BoundColumn

      Previous Section Next Section