C# 클래스 System.Web.UI.WebControls.GridView

상속: System.Web.UI.WebControls.CompositeDataBoundControl, ICallbackEventHandler, ICallbackContainer, IPostBackEventHandler, IPostBackContainer
파일 보기 프로젝트 열기: runefs/Marvin 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CancelEdit void
CopyOrderedDictionary IOrderedDictionary
CreateAutoFieldProperties AutoGeneratedFieldProperties[]
CreateEmptyrRow GridViewRow
CreatePagerRow GridViewRow
CreateRowDataKey IOrderedDictionary
DeleteCallback bool
EditRow void
EndRowEdit void
GetRowState DataControlRowState
GetRowValues IOrderedDictionary
ICallbackContainer string
ICallbackEventHandler string
ICallbackEventHandler void
IPostBackContainer PostBackOptions
IPostBackEventHandler void
LoadDataKeyArrayState void
OnFieldsChanged void
ProcessEvent void
RenderGrid void
RequireBinding void
SaveDataKeyArrayState object[]
SelectRow void
ShowPage void
Sort void
UpdateCallback bool
UpdateRow void
UpdateRow void

공개 메소드들

메소드 설명
DataBind ( ) : void
DeleteRow ( int rowIndex ) : void
GridView ( ) : System
IsBindableType ( Type type ) : bool
Sort ( string newSortExpression, SortDirection newSortDirection ) : void

보호된 메소드들

메소드 설명
CreateAutoGeneratedColumn ( AutoGeneratedFieldProperties fieldProperties ) : AutoGeneratedField
CreateChildControls ( IEnumerable data, bool dataBinding ) : int
CreateChildTable ( ) : Table
CreateColumns ( PagedDataSource dataSource, bool useDataSource ) : ICollection
CreateControlStyle ( ) : Style
CreateDataSourceSelectArguments ( ) : DataSourceSelectArguments
CreateRow ( int rowIndex, int dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState ) : GridViewRow
ExtractRowValues ( IOrderedDictionary fieldValues, GridViewRow row, bool includeReadOnlyFields, bool includePrimaryKey ) : void
GetCallbackResult ( ) : string
GetCallbackScript ( IButtonControl control, string argument ) : string
InitializePager ( GridViewRow row, int columnSpan, PagedDataSource dataSource ) : void
InitializeRow ( GridViewRow row, DataControlField fields ) : void
LoadControlState ( object ob ) : void
LoadViewState ( object savedState ) : void
OnBubbleEvent ( object source, EventArgs e ) : bool
OnDataPropertyChanged ( ) : void
OnDataSourceViewChanged ( object sender, EventArgs e ) : void
OnInit ( EventArgs e ) : void
OnPageIndexChanged ( EventArgs e ) : void
OnPageIndexChanging ( GridViewPageEventArgs e ) : void
OnPagePreLoad ( object sender, EventArgs e ) : void
OnPreRender ( EventArgs e ) : void
OnRowCancelingEdit ( GridViewCancelEditEventArgs e ) : void
OnRowCommand ( GridViewCommandEventArgs e ) : void
OnRowCreated ( GridViewRowEventArgs e ) : void
OnRowDataBound ( GridViewRowEventArgs e ) : void
OnRowDeleted ( GridViewDeletedEventArgs e ) : void
OnRowDeleting ( GridViewDeleteEventArgs e ) : void
OnRowEditing ( GridViewEditEventArgs e ) : void
OnRowUpdated ( GridViewUpdatedEventArgs e ) : void
OnRowUpdating ( GridViewUpdateEventArgs e ) : void
OnSelectedIndexChanged ( EventArgs e ) : void
OnSelectedIndexChanging ( GridViewSelectEventArgs e ) : void
OnSorted ( EventArgs e ) : void
OnSorting ( GridViewSortEventArgs e ) : void
PerformDataBinding ( IEnumerable data ) : void
PrepareControlHierarchy ( ) : void
RaiseCallbackEvent ( string eventArgs ) : void
RaisePostBackEvent ( string eventArgument ) : void
Render ( HtmlTextWriter writer ) : void
SaveControlState ( ) : object
SaveViewState ( ) : object
TrackViewState ( ) : void

비공개 메소드들

메소드 설명
CancelEdit ( ) : void
CopyOrderedDictionary ( IOrderedDictionary sourceDic ) : IOrderedDictionary
CreateAutoFieldProperties ( PagedDataSource source ) : AutoGeneratedFieldProperties[]
CreateEmptyrRow ( int fieldCount ) : GridViewRow
CreatePagerRow ( int fieldCount, PagedDataSource dataSource ) : GridViewRow
CreateRowDataKey ( GridViewRow row ) : IOrderedDictionary
DeleteCallback ( int recordsAffected, Exception exception ) : bool
EditRow ( int index ) : void
EndRowEdit ( ) : void
GetRowState ( int index ) : DataControlRowState
GetRowValues ( GridViewRow row, bool includeReadOnlyFields, bool includePrimaryKey ) : IOrderedDictionary
ICallbackContainer ( IButtonControl control, string argument ) : string
ICallbackEventHandler ( ) : string
ICallbackEventHandler ( string eventArgs ) : void
IPostBackContainer ( IButtonControl control ) : PostBackOptions
IPostBackEventHandler ( string eventArgument ) : void
LoadDataKeyArrayState ( object state ) : void
OnFieldsChanged ( object sender, EventArgs args ) : void
ProcessEvent ( string eventName, string param, bool causesValidation ) : void
RenderGrid ( HtmlTextWriter writer ) : void
RequireBinding ( ) : void
SaveDataKeyArrayState ( ) : object[]
SelectRow ( int index ) : void
ShowPage ( int newIndex ) : void
Sort ( string newSortExpression ) : void
UpdateCallback ( int recordsAffected, Exception exception ) : bool
UpdateRow ( GridViewRow row, int rowIndex, bool causesValidation ) : void
UpdateRow ( int rowIndex, bool causesValidation ) : void

메소드 상세

CreateAutoGeneratedColumn() 보호된 메소드

protected CreateAutoGeneratedColumn ( AutoGeneratedFieldProperties fieldProperties ) : AutoGeneratedField
fieldProperties AutoGeneratedFieldProperties
리턴 AutoGeneratedField

CreateChildControls() 보호된 메소드

protected CreateChildControls ( IEnumerable data, bool dataBinding ) : int
data IEnumerable
dataBinding bool
리턴 int

CreateChildTable() 보호된 메소드

protected CreateChildTable ( ) : Table
리턴 Table

CreateColumns() 보호된 메소드

protected CreateColumns ( PagedDataSource dataSource, bool useDataSource ) : ICollection
dataSource PagedDataSource
useDataSource bool
리턴 ICollection

CreateControlStyle() 보호된 메소드

protected CreateControlStyle ( ) : Style
리턴 Style

CreateDataSourceSelectArguments() 보호된 메소드

protected CreateDataSourceSelectArguments ( ) : DataSourceSelectArguments
리턴 DataSourceSelectArguments

CreateRow() 보호된 메소드

protected CreateRow ( int rowIndex, int dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState ) : GridViewRow
rowIndex int
dataSourceIndex int
rowType DataControlRowType
rowState DataControlRowState
리턴 GridViewRow

DataBind() 공개 최종 메소드

public final DataBind ( ) : void
리턴 void

DeleteRow() 공개 메소드

public DeleteRow ( int rowIndex ) : void
rowIndex int
리턴 void

ExtractRowValues() 보호된 메소드

protected ExtractRowValues ( IOrderedDictionary fieldValues, GridViewRow row, bool includeReadOnlyFields, bool includePrimaryKey ) : void
fieldValues IOrderedDictionary
row GridViewRow
includeReadOnlyFields bool
includePrimaryKey bool
리턴 void

GetCallbackResult() 보호된 메소드

protected GetCallbackResult ( ) : string
리턴 string

GetCallbackScript() 보호된 메소드

protected GetCallbackScript ( IButtonControl control, string argument ) : string
control IButtonControl
argument string
리턴 string

GridView() 공개 메소드

public GridView ( ) : System
리턴 System

InitializePager() 보호된 메소드

protected InitializePager ( GridViewRow row, int columnSpan, PagedDataSource dataSource ) : void
row GridViewRow
columnSpan int
dataSource PagedDataSource
리턴 void

InitializeRow() 보호된 메소드

protected InitializeRow ( GridViewRow row, DataControlField fields ) : void
row GridViewRow
fields DataControlField
리턴 void

IsBindableType() 공개 메소드

public IsBindableType ( Type type ) : bool
type Type
리턴 bool

LoadControlState() 보호된 메소드

protected LoadControlState ( object ob ) : void
ob object
리턴 void

LoadViewState() 보호된 메소드

protected LoadViewState ( object savedState ) : void
savedState object
리턴 void

OnBubbleEvent() 보호된 메소드

protected OnBubbleEvent ( object source, EventArgs e ) : bool
source object
e EventArgs
리턴 bool

OnDataPropertyChanged() 보호된 메소드

protected OnDataPropertyChanged ( ) : void
리턴 void

OnDataSourceViewChanged() 보호된 메소드

protected OnDataSourceViewChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

OnInit() 보호된 메소드

protected OnInit ( EventArgs e ) : void
e EventArgs
리턴 void

OnPageIndexChanged() 보호된 메소드

protected OnPageIndexChanged ( EventArgs e ) : void
e EventArgs
리턴 void

OnPageIndexChanging() 보호된 메소드

protected OnPageIndexChanging ( GridViewPageEventArgs e ) : void
e GridViewPageEventArgs
리턴 void

OnPagePreLoad() 보호된 메소드

protected OnPagePreLoad ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

OnPreRender() 보호된 메소드

protected OnPreRender ( EventArgs e ) : void
e EventArgs
리턴 void

OnRowCancelingEdit() 보호된 메소드

protected OnRowCancelingEdit ( GridViewCancelEditEventArgs e ) : void
e GridViewCancelEditEventArgs
리턴 void

OnRowCommand() 보호된 메소드

protected OnRowCommand ( GridViewCommandEventArgs e ) : void
e GridViewCommandEventArgs
리턴 void

OnRowCreated() 보호된 메소드

protected OnRowCreated ( GridViewRowEventArgs e ) : void
e GridViewRowEventArgs
리턴 void

OnRowDataBound() 보호된 메소드

protected OnRowDataBound ( GridViewRowEventArgs e ) : void
e GridViewRowEventArgs
리턴 void

OnRowDeleted() 보호된 메소드

protected OnRowDeleted ( GridViewDeletedEventArgs e ) : void
e GridViewDeletedEventArgs
리턴 void

OnRowDeleting() 보호된 메소드

protected OnRowDeleting ( GridViewDeleteEventArgs e ) : void
e GridViewDeleteEventArgs
리턴 void

OnRowEditing() 보호된 메소드

protected OnRowEditing ( GridViewEditEventArgs e ) : void
e GridViewEditEventArgs
리턴 void

OnRowUpdated() 보호된 메소드

protected OnRowUpdated ( GridViewUpdatedEventArgs e ) : void
e GridViewUpdatedEventArgs
리턴 void

OnRowUpdating() 보호된 메소드

protected OnRowUpdating ( GridViewUpdateEventArgs e ) : void
e GridViewUpdateEventArgs
리턴 void

OnSelectedIndexChanged() 보호된 메소드

protected OnSelectedIndexChanged ( EventArgs e ) : void
e EventArgs
리턴 void

OnSelectedIndexChanging() 보호된 메소드

protected OnSelectedIndexChanging ( GridViewSelectEventArgs e ) : void
e GridViewSelectEventArgs
리턴 void

OnSorted() 보호된 메소드

protected OnSorted ( EventArgs e ) : void
e EventArgs
리턴 void

OnSorting() 보호된 메소드

protected OnSorting ( GridViewSortEventArgs e ) : void
e GridViewSortEventArgs
리턴 void

PerformDataBinding() 보호된 메소드

protected PerformDataBinding ( IEnumerable data ) : void
data IEnumerable
리턴 void

PrepareControlHierarchy() 보호된 메소드

protected PrepareControlHierarchy ( ) : void
리턴 void

RaiseCallbackEvent() 보호된 메소드

protected RaiseCallbackEvent ( string eventArgs ) : void
eventArgs string
리턴 void

RaisePostBackEvent() 보호된 메소드

protected RaisePostBackEvent ( string eventArgument ) : void
eventArgument string
리턴 void

Render() 보호된 메소드

protected Render ( HtmlTextWriter writer ) : void
writer HtmlTextWriter
리턴 void

SaveControlState() 보호된 메소드

protected SaveControlState ( ) : object
리턴 object

SaveViewState() 보호된 메소드

protected SaveViewState ( ) : object
리턴 object

Sort() 공개 메소드

public Sort ( string newSortExpression, SortDirection newSortDirection ) : void
newSortExpression string
newSortDirection SortDirection
리턴 void

TrackViewState() 보호된 메소드

protected TrackViewState ( ) : void
리턴 void