BoundColumn

BoundColumn

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); }

Hierarchy

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



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net