<%@ Page Language="c#" Codebehind="AdmGrupyZaszeregowania.aspx.cs" AutoEventWireup="True"
    Inherits="KOLKaP_WEB.KOLKaP.AdmGrupyZaszeregowania" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>AdmGrupyZaszeregowania</title>
    
    <meta name="CODE_LANGUAGE" content="C#" />
    <meta name="vs_defaultClientScript" content="JavaScript" />
    
    <link href="../Web.css?2" type="text/css" rel="stylesheet" />
</head>
<body class="TableLRT0" oncontextmenu="return false">
    <form id="Form1" method="post" runat="server">
        <table cellspacing="0" cellpadding="0" width="100%">
            <tr>
                <td style="height: 20px; width: 25%">
                    <asp:Button ID="btnPowrot" runat="server" Text="Powrót" CssClass="aspButton" OnClick="btnPowrot_Click">
                    </asp:Button></td>
                <td align="right" style="height: 20px; width: 25%">
                </td>
                <td align="right" style="height: 20px; width: 25%">
                </td>
                <td align="right" style="height: 20px; width: 25%">
                    <asp:Button ID="btnOdswiez" runat="server" CssClass="aspButton" Text="Odśwież" OnClick="btnOdswiez_Click">
                    </asp:Button></td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:Label ID="lblError" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:DataGrid ID="dgGrupy" Width="100%" runat="server" CssClass="aspGrid " DataSource="<%# dvGrupy %>"
                        AutoGenerateColumns="False" AllowSorting="True">
                        <AlternatingItemStyle CssClass="TableItemAlt"></AlternatingItemStyle>
                        <ItemStyle CssClass="TableItem"></ItemStyle>
                        <HeaderStyle CssClass="TableHeader"></HeaderStyle>
                        <Columns>
                            <asp:ButtonColumn Text="Wybierz" ButtonType="PushButton" CommandName="Select"></asp:ButtonColumn>
                            <asp:BoundColumn Visible="False" DataField="ID_GRUPY" SortExpression="ID_GRUPY" HeaderText="ID_GRUPY">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="NAZWA" SortExpression="NAZWA" HeaderText="Nazwa">
                                <HeaderStyle Width="30%"></HeaderStyle>
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="OPIS" SortExpression="OPIS" HeaderText="Szczegóły">
                                <HeaderStyle Width="70%"></HeaderStyle>
                            </asp:BoundColumn>
                        </Columns>
                        <PagerStyle Position="Top" BackColor="LightGray" CssClass="Pager" Mode="NumericPages">
                        </PagerStyle>
                    </asp:DataGrid></td>
            </tr>
        </table>
    </form>
</body>
</html>
