Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <asp:GridView ID="gridUsuarios" runat="server" CellPadding="4" ForeColor="#333333"
- GridLines="None" AutoGenerateColumns="False"
- DataSourceID="ObjectDataSource1" Width="796px" style="margin-left:50px;"
- onrowdatabound="gridUsuarios_RowDataBound"
- onrowcommand="gridUsuarios_RowCommand"
- onrowdeleting="gridUsuarios_RowDeleting"
- onselectedindexchanged="gridUsuarios_SelectedIndexChanged">
- <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Left" />
- <Columns>
- <asp:BoundField DataField="Codigo" HeaderText="CÓDIGO" SortExpression="Codigo">
- <ItemStyle Width="130px" />
- </asp:BoundField>
- <asp:ButtonField DataTextField="Nome" HeaderText="NOME" Text="NOME">
- <ItemStyle Width="130px" />
- </asp:ButtonField>
- <asp:BoundField DataField="Nome" HeaderText="NOME" SortExpression="Nome"
- Visible="False">
- <ItemStyle Width="130px" />
- </asp:BoundField>
- <asp:BoundField DataField="Email" HeaderText="E-MAIL" SortExpression="Email">
- <ItemStyle Width="130px" />
- </asp:BoundField>
- <asp:CheckBoxField DataField="Status" HeaderText="STATUS"
- SortExpression="Status">
- <ItemStyle Width="130px" />
- </asp:CheckBoxField>
- <asp:BoundField DataField="Login" HeaderText="LOGIN" SortExpression="Login">
- <ItemStyle Width="130px" />
- </asp:BoundField>
- <asp:BoundField DataField="Senha" HeaderText="SENHA" SortExpression="Senha"
- Visible="False">
- <ItemStyle Width="130px" />
- </asp:BoundField>
- <asp:CommandField ShowDeleteButton="True"/>
- <asp:CommandField ShowSelectButton="True" />
- </Columns>
- <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
- <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
- <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
- <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"
- HorizontalAlign="Left" />
- <EditRowStyle BackColor="#999999" />
- <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
- </asp:GridView>
- <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
- SelectMethod="PreencherLista" TypeName="Controle_de_Tarefas.Classes.ClassUser">
- </asp:ObjectDataSource>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement