20151221001 GridView 模板
<asp:GridView ID="GridView1"
runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="#78C7EB" BorderColor="#78C7EB" BorderWidth="1px"
CellPadding="3" CellSpacing="2" DataKeyNames="ID"
Height="50px" Width="810px" style="left: 3px; top: 3px"
OnPageIndexChanging="GridView1_PageIndexChanging"
OnRowDataBound="GridView1_RowDataBound"
Font-Size="Large">
<FooterStyle BackColor="#F7DFB5" ForeColor="#46434F" Font-Bold="False" />
<RowStyle BackColor="#EDF6FA" ForeColor="#46434F" />
<Columns>
<asp:BoundField DataField="ID" HeaderText="编号" ReadOnly="True"
SortExpression="ID" >
<HeaderStyle BackColor="#34A7DC" BorderColor="#336699" BorderStyle="Double"
BorderWidth="1px" Font-Size="Medium" />
<ItemStyle HorizontalAlign="Center" BorderWidth="1px"
Font-Size="Small" BorderColor="#34A7DC" Width="28px" />
</asp:BoundField>
<asp:BoundField DataField="M_Title" HeaderText="会议主题" SortExpression="M_Title" >
<HeaderStyle BackColor="#34A7DC" BorderColor="#336699" BorderStyle="Double"
BorderWidth="1px" Font-Size="Medium" />
<ItemStyle HorizontalAlign="Center" BorderWidth="1px"
Font-Size="Small" BorderColor="#34A7DC" Width="160px" />
</asp:BoundField>
<asp:BoundField DataField="M_Room" HeaderText="会议室" SortExpression="M_Room" >
<HeaderStyle BackColor="#34A7DC" BorderColor="#336699" BorderStyle="Double"
BorderWidth="1px" Font-Size="Medium" />
<ItemStyle HorizontalAlign="Center" BorderWidth="1px"
Font-Size="Small" BorderColor="#34A7DC" Width="60px" />
</asp:BoundField>
<asp:BoundField DataField="M_Chairman" HeaderText="主持人"
SortExpression="M_Chairman" >
<HeaderStyle BackColor="#34A7DC" BorderColor="#336699" BorderStyle="Double"
BorderWidth="1px" Font-Size="Medium" />
<ItemStyle HorizontalAlign="Center" BorderWidth="1px"
Font-Size="Small" BorderColor="#34A7DC" Width="60px" />
</asp:BoundField>
<asp:BoundField DataField="M_S_Time" HeaderText="开始时间"
SortExpression="M_S_Time" >
<HeaderStyle BackColor="#34A7DC" BorderColor="#336699" BorderStyle="Double"
BorderWidth="1px" Font-Size="Medium" />
<ItemStyle HorizontalAlign="Center" BorderWidth="1px"
Font-Size="Small" BorderColor="#34A7DC" Width="80px" />
</asp:BoundField>
<asp:BoundField DataField="M_E_Time" HeaderText="结束时间"
SortExpression="M_E_Time" >
<HeaderStyle BackColor="#34A7DC" BorderColor="#336699" BorderStyle="Double"
BorderWidth="1px" Font-Size="Medium" />
<ItemStyle HorizontalAlign="Center" BorderWidth="1px"
Font-Size="Small" BorderColor="#34A7DC" Width="80px" />
</asp:BoundField>
<asp:BoundField DataField="M_Person" HeaderText="与会人"
SortExpression="M_Person" >
<HeaderStyle BackColor="#34A7DC" BorderColor="#336699" BorderStyle="Double"
BorderWidth="1px" Font-Size="Medium" />
<ItemStyle HorizontalAlign="Center" BorderWidth="1px"
Font-Size="Small" BorderColor="#34A7DC" Width="100px" />
</asp:BoundField>
<asp:BoundField DataField="M_Operator" HeaderText="预约人"
SortExpression="M_Operator" >
<HeaderStyle BackColor="#34A7DC" BorderColor="#336699" BorderStyle="Double"
BorderWidth="1px" Font-Size="Medium" />
<ItemStyle HorizontalAlign="Center" BorderWidth="1px"
Font-Size="Small" BorderColor="#34A7DC" Width="60px" />
</asp:BoundField>
<asp:BoundField DataField="M_Operator_Date" HeaderText="预约时间"
SortExpression="M_Operator_Date" >
<HeaderStyle BackColor="#34A7DC" BorderColor="#336699" BorderStyle="Double"
BorderWidth="1px" Font-Size="Medium" />
<ItemStyle HorizontalAlign="Center" BorderWidth="1px"
Font-Size="Small" BorderColor="#34A7DC" Width="80px" />
</asp:BoundField>
</Columns>
<PagerStyle ForeColor="#EDF6FA" HorizontalAlign="Center" Font-Bold="True"
Font-Italic="False" Font-Names="Arial Black" Font-Overline="False"
Font-Size="Medium" Font-Underline="False" Height="28px" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#EDF6FA" Font-Bold="True" ForeColor="White"
Font-Size="Small" Height="38px" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>