<asp:DataGrid id="programmaticID" runat=server<br>
DataSource='<%# DataBindingExpression %>'<br>
AllowPaging="True|False"<br>
AllowSorting="True|False"<br>
AutoGenerateColumns="True|False"<br>
BackImageUrl="url"<br>
CellPadding="pixels"<br>
CellSpacing="pixels"<br>
DataKeyField="DataSourceKeyField"<br>
GridLines="None|Horizontal|Vertical|Both"<br>
HorizontalAlign="Center|Justify|Left|NotSet|Right"<br>
PagedDataSource<br>
PageSize="ItemCount"<br>
ShowFooter="True|False"<br>
ShowHeader="True|False"<br>
VirtualItemCount="ItemCount"<br>
OnCancelCommand="OnCancelCommandMethod"<br>
OnDeleteCommand="OnDeleteCommandMethod"<br>
OnEditCommand="OnEditCommandMethod"<br>
OnItemCommand="OnItemCommandMethod"<br>
OnItemCreated="OnItemCreatedMethod"<br>
OnPageIndexChanged="OnPageIndexChangedMethod"<br>
OnSortCommand="OnSortCommandMethod"<br>
OnUpdateCommand="OnUpdateCommandMethod"><br>
<br>
<AlternatingItemStyle property="value"/><br>
<EditItemStyle property="value"/><
DataSource='<%# DataBindingExpression %>'<br>
AllowPaging="True|False"<br>
AllowSorting="True|False"<br>
AutoGenerateColumns="True|False"<br>
BackImageUrl="url"<br>
CellPadding="pixels"<br>
CellSpacing="pixels"<br>
DataKeyField="DataSourceKeyField"<br>
GridLines="None|Horizontal|Vertical|Both"<br>
HorizontalAlign="Center|Justify|Left|NotSet|Right"<br>
PagedDataSource<br>
PageSize="ItemCount"<br>
ShowFooter="True|False"<br>
ShowHeader="True|False"<br>
VirtualItemCount="ItemCount"<br>
OnCancelCommand="OnCancelCommandMethod"<br>
OnDeleteCommand="OnDeleteCommandMethod"<br>
OnEditCommand="OnEditCommandMethod"<br>
OnItemCommand="OnItemCommandMethod"<br>
OnItemCreated="OnItemCreatedMethod"<br>
OnPageIndexChanged="OnPageIndexChangedMethod"<br>
OnSortCommand="OnSortCommandMethod"<br>
OnUpdateCommand="OnUpdateCommandMethod"><br>
<br>
<AlternatingItemStyle property="value"/><br>
<EditItemStyle property="value"/><
| 对此文章发表了评论 |

