C# 클래스 Adf.Web.Binding.DataGridBinder

Represents a binder for a System.Web.UI.WebControls.DataGrid. Provides methods to bind the properties of a System.Web.UI.WebControls.DataGrid to values.
상속: IControlBinder
파일 보기 프로젝트 열기: NLADP/ADF

공개 메소드들

메소드 설명
Bind ( object control, IEnumerable values ) : void

Binds the 'DataSource' property of the specified System.Web.UI.WebControls.DataGrid with the specified list.

The 'DataKeyField' property of the specified System.Web.UI.WebControls.DataGrid is set to 'ID'.

Bind ( object control, object values ) : void

Binds the 'DataSource' property of the specified System.Web.UI.WebControls.DataGrid with the specified array of objects.

The 'DataKeyField' property of the specified System.Web.UI.WebControls.DataGrid is set to 'ID'.

Bind ( object control, object value, PropertyInfo pi ) : void

Binds the 'DataSource' property of the specified System.Web.UI.WebControls.DataGrid with the specified System.Data.DataSet.

The 'DataKeyField' property of the specified System.Web.UI.WebControls.DataGrid is set to 'ID'.

비공개 메소드들

메소드 설명
SetPaging ( DataGrid grid, int rows ) : void

Sets the paging related properties of the specified System.Web.UI.WebControls.DataGrid. The specified number of records determines the visibility of the pager.

The 'DataKeyField' property of the specified System.Web.UI.WebControls.DataGrid is set to 'ID'.

메소드 상세

Bind() 공개 메소드

Binds the 'DataSource' property of the specified System.Web.UI.WebControls.DataGrid with the specified list.
The 'DataKeyField' property of the specified System.Web.UI.WebControls.DataGrid is set to 'ID'.
public Bind ( object control, IEnumerable values ) : void
control object The , the 'DataSource' /// property of which is to bind to.
values IEnumerable The list to bind.
리턴 void

Bind() 공개 메소드

Binds the 'DataSource' property of the specified System.Web.UI.WebControls.DataGrid with the specified array of objects.
The 'DataKeyField' property of the specified System.Web.UI.WebControls.DataGrid is set to 'ID'.
public Bind ( object control, object values ) : void
control object The , the 'DataSource' /// property of which is to bind to.
values object The array of objects to bind.
리턴 void

Bind() 공개 메소드

Binds the 'DataSource' property of the specified System.Web.UI.WebControls.DataGrid with the specified System.Data.DataSet.
The 'DataKeyField' property of the specified System.Web.UI.WebControls.DataGrid is set to 'ID'.
public Bind ( object control, object value, PropertyInfo pi ) : void
control object The , the 'DataSource' /// property of which is to bind to.
value object The to bind.
pi System.Reflection.PropertyInfo The property of the /// to bind to. Currently not being used.
리턴 void