Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   |   Class Browser   
     

Quickstart Class Browser


Namespaces
 Microsoft.CSharp
 Microsoft.SqlServer.Server
 Microsoft.VisualBasic
 Microsoft.Win32
 Microsoft.Win32.SafeHandles
 System
 System.CodeDom
 System.CodeDom.Compiler
 System.Collections
 System.Collections.Generic
 System.Collections.ObjectModel
 System.Collections.Specialized
 System.ComponentModel
 System.ComponentModel.Design
 System.ComponentModel.Design.Serialization
 System.Configuration
 System.Configuration.Assemblies
 System.Data
 System.Data.Common
 System.Data.Odbc
 System.Data.OleDb
 System.Data.Sql
 System.Data.SqlClient
 System.Data.SqlTypes
 System.Deployment.Internal
 System.Diagnostics
 System.Diagnostics.CodeAnalysis
 System.Diagnostics.SymbolStore
 System.DirectoryServices
 System.DirectoryServices.ActiveDirectory
 System.Drawing
 System.Drawing.Design
 System.Drawing.Drawing2D
 System.Drawing.Imaging
 System.Drawing.Printing
 System.Drawing.Text
 System.Globalization
 System.IO
 System.IO.Compression
 System.IO.IsolatedStorage
 System.IO.Ports
 System.Media
 System.Messaging
 System.Messaging.Design
 System.Net
 System.Net.Cache
 System.Net.Configuration
 System.Net.Mail
 System.Net.Mime
 System.Net.NetworkInformation
 System.Net.Security
 System.Net.Sockets
 System.Reflection
 System.Reflection.Emit
 System.Resources
 System.Runtime
 System.Runtime.CompilerServices
 System.Runtime.ConstrainedExecution
 System.Runtime.Hosting
 System.Runtime.InteropServices
 System.Runtime.InteropServices.ComTypes
 System.Runtime.InteropServices.Expando
 System.Runtime.Remoting
 System.Runtime.Remoting.Activation
 System.Runtime.Remoting.Channels
 System.Runtime.Remoting.Contexts
 System.Runtime.Remoting.Lifetime
 System.Runtime.Remoting.Messaging
 System.Runtime.Remoting.Metadata
 System.Runtime.Remoting.Metadata.W3cXsd2001
 System.Runtime.Remoting.Proxies
 System.Runtime.Remoting.Services
 System.Runtime.Serialization
 System.Runtime.Serialization.Formatters
 System.Runtime.Serialization.Formatters.Binary
 System.Runtime.Versioning
 System.Security
 System.Security.AccessControl
 System.Security.Authentication
 System.Security.Cryptography
 System.Security.Cryptography.X509Certificates
 System.Security.Permissions
 System.Security.Policy
 System.Security.Principal
 System.Text
 System.Text.RegularExpressions
 System.Threading
 System.Timers
 System.Web
 System.Web.Caching
 System.Web.Compilation
 System.Web.Configuration
 System.Web.Configuration.Internal
 System.Web.Handlers
 System.Web.Hosting
 System.Web.Mail
 System.Web.Management
 System.Web.Profile
 System.Web.Security
 System.Web.SessionState
 System.Web.UI
 System.Web.UI.Adapters
 System.Web.UI.HtmlControls
 System.Web.UI.WebControls
 System.Web.UI.WebControls.Adapters
 System.Web.UI.WebControls.WebParts
 System.Web.Util
 System.Windows.Forms
 System.Windows.Forms.ComponentModel.Com2Interop
 System.Windows.Forms.Design
 System.Windows.Forms.Layout
 System.Windows.Forms.PropertyGridInternal
 System.Windows.Forms.VisualStyles
 System.Xml
 System.Xml.Schema
 System.Xml.Serialization
 System.Xml.Serialization.Advanced
 System.Xml.Serialization.Configuration
 System.Xml.XPath
 System.Xml.Xsl

Class System.Web.UI.WebControls.GridView
Constructors
Visibility Constructor Parameters
public GridView ( )

Events
Multicast Type Name
multicast EventHandler DataBinding
multicast EventHandler DataBound
multicast EventHandler Disposed
multicast EventHandler Init
multicast EventHandler Load
multicast EventHandler PageIndexChanged
multicast GridViewPageEventHandler PageIndexChanging
multicast EventHandler PreRender
multicast GridViewCancelEditEventHandler RowCancelingEdit
multicast GridViewCommandEventHandler RowCommand
multicast GridViewRowEventHandler RowCreated
multicast GridViewRowEventHandler RowDataBound
multicast GridViewDeletedEventHandler RowDeleted
multicast GridViewDeleteEventHandler RowDeleting
multicast GridViewEditEventHandler RowEditing
multicast GridViewUpdatedEventHandler RowUpdated
multicast GridViewUpdateEventHandler RowUpdating
multicast EventHandler SelectedIndexChanged
multicast GridViewSelectEventHandler SelectedIndexChanging
multicast EventHandler Sorted
multicast GridViewSortEventHandler Sorting
multicast EventHandler Unload

Properties
Visibility Type Name Accessibility
public String AccessKey [Get , Set]
public Boolean AllowPaging [Get , Set]
public Boolean AllowSorting [Get , Set]
public TableItemStyle AlternatingRowStyle [Get]
public String AppRelativeTemplateSourceDirectory [Get , Set]
public AttributeCollection Attributes [Get]
public Boolean AutoGenerateColumns [Get , Set]
public Boolean AutoGenerateDeleteButton [Get , Set]
public Boolean AutoGenerateEditButton [Get , Set]
public Boolean AutoGenerateSelectButton [Get , Set]
public Color BackColor [Get , Set]
public String BackImageUrl [Get , Set]
public Control BindingContainer [Get]
public Color BorderColor [Get , Set]
public BorderStyle BorderStyle [Get , Set]
public Unit BorderWidth [Get , Set]
public GridViewRow BottomPagerRow [Get]
public String Caption [Get , Set]
public TableCaptionAlign CaptionAlign [Get , Set]
public Int32 CellPadding [Get , Set]
public Int32 CellSpacing [Get , Set]
public String ClientID [Get]
public DataControlFieldCollection Columns [Get]
public IAutoFieldGenerator ColumnsGenerator [Get , Set]
public ControlCollection Controls [Get]
public Style ControlStyle [Get]
public Boolean ControlStyleCreated [Get]
public String CssClass [Get , Set]
public String DataKeyNames [Get , Set]
public DataKeyArray DataKeys [Get]
public String DataMember [Get , Set]
public Object DataSource [Get , Set]
public String DataSourceID [Get , Set]
public IDataSource DataSourceObject [Get]
public Int32 EditIndex [Get , Set]
public TableItemStyle EditRowStyle [Get]
public TableItemStyle EmptyDataRowStyle [Get]
public ITemplate EmptyDataTemplate [Get , Set]
public String EmptyDataText [Get , Set]
public Boolean Enabled [Get , Set]
public Boolean EnableModelValidation [Get , Set]
public Boolean EnableSortingAndPagingCallbacks [Get , Set]
public Boolean EnableTheming [Get , Set]
public Boolean EnableViewState [Get , Set]
public FontInfo Font [Get]
public GridViewRow FooterRow [Get]
public TableItemStyle FooterStyle [Get]
public Color ForeColor [Get , Set]
public GridLines GridLines [Get , Set]
public Boolean HasAttributes [Get]
public GridViewRow HeaderRow [Get]
public TableItemStyle HeaderStyle [Get]
public Unit Height [Get , Set]
public HorizontalAlign HorizontalAlign [Get , Set]
public String ID [Get , Set]
public Control NamingContainer [Get]
public Page Page [Get , Set]
public Int32 PageCount [Get]
public Int32 PageIndex [Get , Set]
public PagerSettings PagerSettings [Get]
public TableItemStyle PagerStyle [Get]
public ITemplate PagerTemplate [Get , Set]
public Int32 PageSize [Get , Set]
public Control Parent [Get]
public String RowHeaderColumn [Get , Set]
public GridViewRowCollection Rows [Get]
public TableItemStyle RowStyle [Get]
public DataKey SelectedDataKey [Get]
public Int32 SelectedIndex [Get , Set]
public DataKey SelectedPersistedDataKey [Get , Set]
public GridViewRow SelectedRow [Get]
public TableItemStyle SelectedRowStyle [Get]
public Object SelectedValue [Get]
public Boolean ShowFooter [Get , Set]
public Boolean ShowHeader [Get , Set]
public ISite Site [Get , Set]
public String SkinID [Get , Set]
public SortDirection SortDirection [Get]
public String SortExpression [Get]
public CssStyleCollection Style [Get]
public Int16 TabIndex [Get , Set]
public TemplateControl TemplateControl [Get , Set]
public String TemplateSourceDirectory [Get]
public String ToolTip [Get , Set]
public GridViewRow TopPagerRow [Get]
public String UniqueID [Get]
public Boolean UseAccessibleHeader [Get , Set]
public Boolean Visible [Get , Set]
public Unit Width [Get , Set]

Methods
Visibility Return Name Parameters
protected AutoGeneratedField CreateAutoGeneratedColumn ( AutoGeneratedFieldProperties fieldProperties )
protected Int32 CreateChildControls ( IEnumerable dataSource , Boolean dataBinding )
protected Table CreateChildTable ( )
protected ICollection CreateColumns ( PagedDataSource dataSource , Boolean useDataSource )
protected Style CreateControlStyle ( )
protected DataSourceSelectArguments CreateDataSourceSelectArguments ( )
protected GridViewRow CreateRow ( Int32 rowIndex , Int32 dataSourceIndex , DataControlRowType rowType , DataControlRowState rowState )
public Void DataBind ( )
public Void DeleteRow ( Int32 rowIndex )
protected Void ExtractRowValues ( IOrderedDictionary fieldValues , GridViewRow row , Boolean includeReadOnlyFields , Boolean includePrimaryKey )
protected String GetCallbackResult ( )
protected String GetCallbackScript ( IButtonControl buttonControl , String argument )
protected Void InitializePager ( GridViewRow row , Int32 columnSpan , PagedDataSource pagedDataSource )
protected Void InitializeRow ( GridViewRow row , DataControlField fields )
public Boolean IsBindableType ( Type type )
protected Void LoadViewState ( Object savedState )
protected Boolean OnBubbleEvent ( Object source , EventArgs e )
protected Void OnDataPropertyChanged ( )
protected Void OnDataSourceViewChanged ( Object sender , EventArgs e )
protected Void OnPageIndexChanged ( EventArgs e )
protected Void OnPageIndexChanging ( GridViewPageEventArgs e )
protected Void OnPagePreLoad ( Object sender , EventArgs e )
protected Void OnRowCancelingEdit ( GridViewCancelEditEventArgs e )
protected Void OnRowCommand ( GridViewCommandEventArgs e )
protected Void OnRowCreated ( GridViewRowEventArgs e )
protected Void OnRowDataBound ( GridViewRowEventArgs e )
protected Void OnRowDeleted ( GridViewDeletedEventArgs e )
protected Void OnRowDeleting ( GridViewDeleteEventArgs e )
protected Void OnRowEditing ( GridViewEditEventArgs e )
protected Void OnRowUpdated ( GridViewUpdatedEventArgs e )
protected Void OnRowUpdating ( GridViewUpdateEventArgs e )
protected Void OnSelectedIndexChanged ( EventArgs e )
protected Void OnSelectedIndexChanging ( GridViewSelectEventArgs e )
protected Void OnSorted ( EventArgs e )
protected Void OnSorting ( GridViewSortEventArgs e )
protected Void RaiseCallbackEvent ( String eventArgument )
protected Void RaisePostBackEvent ( String eventArgument )
protected Object SaveViewState ( )
public Void Sort ( String sortExpression , SortDirection sortDirection )
protected Void TrackViewState ( )
public Void UpdateRow ( Int32 rowIndex , Boolean causesValidation )

Hierarchy
Object ---> Control ---> WebControl ---> BaseDataBoundControl ---> DataBoundControl ---> CompositeDataBoundControl ---> GridView

Implements
IComponent , IDisposable , IParserAccessor , IUrlResolutionService , IDataBindingsAccessor , IControlBuilderAccessor , IControlDesignerAccessor , IExpressionsAccessor , IAttributeAccessor , INamingContainer , IPostBackContainer , IPostBackEventHandler , ICallbackContainer , ICallbackEventHandler , IPersistedSelector