在<head></head>标签中加入一个样式表,并定义它. <style type="text/css"> .GridViewStyle a .GridViewHeaderStyle th .GridViewHeaderStyle .GridViewFooterStyle .GridViewRowStyle .GridViewAlternatingRowStyle .GridViewRowStyle td, .GridViewAlternatingRowStyle td .GridViewSelectedRowStyle .GridViewPagerStyle .GridViewPagerStyle table /**//* to center the paging links*/ 这时一个完整的对gridView的样式表就已经定义完成了.现在来实现它的应用 <asp:GridView CssClass="GridViewStyle" runat="server" > |
2008-08-19 16:36
转载于:https://www.cnblogs.com/ly5201314/archive/2008/11/12/1331923.html