You are on page 1of 2

<table> <tr align="left"> <td colspan="2"> <asp:Label ID="lblNumRes" runat="server" CssClass="RegEncontrado s" Font-Size="Small" ></asp:Label> </td> </tr> <tr

align="left"> <td align="left" style="width: 600px"> <asp:UpdatePanel id="Panel1" runat="server" UpdateMode="Conditio nal" > <ContentTemplate> <asp:GridView runat="server" ID="gvDatos" AutoGenerat eColumns="False" Font-Names="Tahoma" Font-Size="11px" CellPadding="4" Width="600px" AllowPaging="True" HorizontalAlign="Center" onrowcommand="gvDatos_RowCommand" onpageindexchanging="gvDatos_PageIndexChanging" onrowdatabound="gvDatos_RowDataBound" Font-Bold="Tru e" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" onselectedindexchanged="gvDatos_SelectedIndexChanged " ForeColor="#333333" GridLines="None"> <AlternatingRowStyle CssClass="celdapar" BackColor=" White" ForeColor="#284775" /> <PagerSettings Position="TopAndBottom" /> <PagerStyle HorizontalAlign="Left" VerticalAlign="Mi ddle" BackColor="#284775" ForeColor="#000066" /> <Columns> <asp:BoundField DataField="idGerencia" HeaderTex t="ID" Visible="true"> <ItemStyle HorizontalAlign="Left" VerticalAl ign="Middle" Width="5px" /> </asp:BoundField> <asp:BoundField DataField="descripcion" HeaderTe xt="Gerencia" Visible="true"> <ItemStyle HorizontalAlign="Left" VerticalAl ign="Middle" Width="500px" /> </asp:BoundField> <asp:BoundField DataField="estado" HeaderText="E stado" Visible="true"> <ItemStyle HorizontalAlign="Left" VerticalAl ign="Middle" Width="50px" /> </asp:BoundField> </Columns> <EditRowStyle BackColor="#999999" /> <FooterStyle BackColor="#5D7B9D" ForeColor="White" F ont-Bold="True" /> <HeaderStyle CssClass="gvHeader" BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <PagerStyle ForeColor="White" HorizontalAlign="Cente r" BackColor="#0E3F81" VerticalAlign="Middle" /> <PagerTemplate>&nbsp;Ir a <asp:TextBox id="IraPag" r

unat="server" Height="12px" CssClass="irapag" AutoPostBack="true" onkeypress="so loNumeros()" OnTextChanged="IraPag"> </asp:TextBox> de <asp:Label id="lblTotalNumberOfPages" runat=" server" ></asp:Label> &nbsp; <asp:Button id="Button4" runat="server" ToolTip= "Prim. Pag" CommandArgument="First" CommandName="Page" Font-Bold="True" style="f ont-size: 7pt" CssClass="primero" Height="16px"></asp:Button> <asp:Button id="Button1" runat="server" ToolTip= "Pg. anterior" CommandArgument="Prev" CommandName="Page" style="font-size: 7pt; m argin-left: 0px;" Font-Bold="True" CssClass="anterior" Height="16px"></asp:Butto n> <asp:Button id="Button2" runat="server" ToolTip= "Sig. pgina" CommandArgument="Next" CommandName="Page" style="font-size: 7pt" Fon t-Bold="True" CssClass="siguiente" Height="16px"></asp:Button> <asp:Button id="Button3" runat="server" ToolTip ="lt. Pag" CommandArgument="Last" CommandName="Page" style="font-size: 7pt" FontBold="True" CssClass="ultimo" Height="16px" ></asp:Button> </PagerTemplate> <RowStyle CssClass="celdaimpar" ForeColor="#333333" BackColor="#F7F6F3" /> <SelectedRowStyle CssClass="SelectedRowStyle" BackCo lor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <SortedAscendingCellStyle BackColor="#E9E7E2" /> <SortedAscendingHeaderStyle BackColor="#506C8C" /> <SortedDescendingCellStyle BackColor="#FFFDF8" /> <SortedDescendingHeaderStyle BackColor="#6F8DAE" /> </asp:GridView> </ContentTemplate> </asp:UpdatePanel> </td> </tr> </table>

You might also like