日期:2014-05-17 浏览次数:20487 次
<asp:GridView ID="GVData" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
BorderStyle="Groove" BorderWidth="1px" OnRowDataBound="GVData_RowDataBound" PageSize="15"
Width="100%">
<PagerSettings Mode="NumericFirstLast" Visible="False" />
<PagerStyle BackColor="LightSteelBlue" HorizontalAlign="Right" />
<HeaderStyle BackColor="#DEDEDE" Font-Size="12px" ForeColor="Black" Height="20px" /><AlternatingRowStyle BackColor="WhiteSmoke" />
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="CheckSelect" runat="server" />
<span style=" display:none;">
<input type="text" id="hid" name="CheckSelect" runat="server" value='<%#DataBinder.Eval(Container.DataItem, "Me_Sn")%>' />
</span>
<asp:Label ID="LabVisible" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Me_Sn")%>'