bsp; <ControlStyle Width="150px" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:ImageField>
<asp:CommandField ButtonType="Button" ShowEditButton="True">
<ItemStyle HorizontalAlign="Center" />
</asp:CommandField>
<asp:CommandField ButtonType="Button" ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="Lime" BorderWidth="1px" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:ImageField>
<asp:CommandField ButtonType="Button" ShowEditButton="True">
<ItemStyle HorizontalAlign="Center" />
</asp:CommandField>
<asp:CommandField ButtonType="Button" ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="Lime" BorderWidth="1px" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
以上涉及到的两个aspx文件必须放在同一目录,本例使用的oracle数据库。
asp.net 2 让我有一中越用越爽的感觉,操作数据库成了很愉快的事~~~
希望能和研究asp.net 2的朋友多交流
| 对此文章发表了评论 |

