Advertisement
Guest User

Untitled

a guest
Jun 15th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 2.80 KB | None | 0 0
  1.         <asp:GridView ID="gridUsuarios" runat="server" CellPadding="4" ForeColor="#333333"
  2.             GridLines="None" AutoGenerateColumns="False"
  3.             DataSourceID="ObjectDataSource1" Width="796px" style="margin-left:50px;"
  4.                 onrowdatabound="gridUsuarios_RowDataBound"
  5.                 onrowcommand="gridUsuarios_RowCommand"
  6.                 onrowdeleting="gridUsuarios_RowDeleting"
  7.                 onselectedindexchanged="gridUsuarios_SelectedIndexChanged">
  8.             <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Left" />
  9.             <Columns>
  10.                 <asp:BoundField DataField="Codigo" HeaderText="CÓDIGO" SortExpression="Codigo">
  11.                     <ItemStyle Width="130px" />
  12.                 </asp:BoundField>
  13.                 <asp:ButtonField DataTextField="Nome" HeaderText="NOME" Text="NOME">
  14.                     <ItemStyle Width="130px" />
  15.                 </asp:ButtonField>
  16.                 <asp:BoundField DataField="Nome" HeaderText="NOME" SortExpression="Nome"
  17.                     Visible="False">
  18.                     <ItemStyle Width="130px" />
  19.                 </asp:BoundField>
  20.                 <asp:BoundField DataField="Email" HeaderText="E-MAIL" SortExpression="Email">
  21.                     <ItemStyle Width="130px" />
  22.                 </asp:BoundField>
  23.                 <asp:CheckBoxField DataField="Status" HeaderText="STATUS"
  24.                     SortExpression="Status">
  25.                     <ItemStyle Width="130px" />
  26.                 </asp:CheckBoxField>
  27.                 <asp:BoundField DataField="Login" HeaderText="LOGIN" SortExpression="Login">
  28.                     <ItemStyle Width="130px" />
  29.                 </asp:BoundField>
  30.                 <asp:BoundField DataField="Senha" HeaderText="SENHA" SortExpression="Senha"
  31.                     Visible="False">
  32.                     <ItemStyle Width="130px" />
  33.                 </asp:BoundField>
  34.                 <asp:CommandField ShowDeleteButton="True"/>
  35.                 <asp:CommandField ShowSelectButton="True" />
  36.             </Columns>
  37.             <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
  38.             <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
  39.             <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
  40.             <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"
  41.                 HorizontalAlign="Left" />
  42.             <EditRowStyle BackColor="#999999" />
  43.             <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
  44.            
  45.         </asp:GridView>
  46.         <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
  47.             SelectMethod="PreencherLista" TypeName="Controle_de_Tarefas.Classes.ClassUser">
  48.         </asp:ObjectDataSource>
  49.         </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement