Метод | Описание | |
---|---|---|
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, |
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 ( |
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'. |
public Bind ( object control, IEnumerable values ) : void | ||
control | object | The |
values | IEnumerable | The list to bind. |
Результат | void |
public Bind ( object control, object values ) : void | ||
control | object | The |
values | object | The array of objects to bind. |
Результат | void |
public Bind ( object control, object value, |
||
control | object | The |
value | object | The |
pi | The property of the |
|
Результат | void |