Method | Description | |
---|---|---|
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'. |
Method | Description | |
---|---|---|
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. |
return | void |
public Bind ( object control, object values ) : void | ||
control | object | The |
values | object | The array of objects to bind. |
return | void |
public Bind ( object control, object value, |
||
control | object | The |
value | object | The |
pi | The property of the |
|
return | void |