      <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" />
      <asp:UpdatePanel runat="server" ID="UpdatePanel1" UpdateMode="Conditional">
         <ContentTemplate>
            <asp:GridView ID="GridView1" runat="server" Font-Size="Medium" GridLines="None" Width="600px" AutoGenerateColumns="false" BorderStyle="Solid" AllowSorting="true" DataSourceID="SqlDataSource1" HeaderStyle-BackColor="Blue" HeaderStyle-ForeColor="White" HeaderStyle-Font-Names="Verdana" HeaderStyle-Font-Size="10pt" RowStyle-ForeColor="Black" RowStyle-BackColor="DeepSkyBlue" RowStyle-Font-Names="Verdana" RowStyle-Font-Size="10pt">
               <AlternatingRowStyle BackColor="AliceBlue" />
               <HeaderStyle HorizontalAlign="Left" />
               <Columns>
                   <asp:BoundField DataField="SalesID" HeaderText="Sales ID" />
                   <asp:BoundField DataField="SalesmanName" HeaderText="Imiê sprzedawcy" />
                   <asp:BoundField DataField="ItemName" HeaderText="Nazwa towaru" />
                   <asp:BoundField DataField="NoOfItems" HeaderText="Liczba sprzedanych" />
               </Columns>
            </asp:GridView>
            <asp:Timer ID="Timer1" runat="server" Interval="5000" OnTick="UpdateData" />
         </ContentTemplate>
      </asp:UpdatePanel>
      <asp:SqlDataSource ID="SqlDataSource1" runat="server" DataSourceMode="DataSet" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>" SelectCommand="SELECT * FROM [Sales]"></asp:SqlDataSource>
