<%@ Page Language="C#" AutoEventWireup="true" CodeFile="showLogs.aspx.cs" Inherits="showLogs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>ShowNotes</title>
    <link href="CSS/tv.css" type="text/css" rel="stylesheet" />
    <link href="CSS/Pagina.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/jscript" src="CSS/script.js"></script>

    <script language="javascript" type="text/javascript">
// <!CDATA[

        function updateTop() {
            //LabelCliente.innerText = parent.TOP.lbl_Utente.innerText;
            LabelCliente.innerText = parent.frames['TOP'].document.getElementById('lbl_Utente').innerText;
        }

// ]]>
    </script>

</head>
<body bgcolor="#ffffff">
    <form id="mainForm" runat="server">
    <div id="selectorPanel">
        <asp:Label ID="lblTitle" runat="server" CssClass="stateTitle" Style="left: 10px;
            position: absolute" Width="693px">Log Report</asp:Label>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    </div>
    <div style="position: absolute; left: 13px; width: 693px; top: 29px; height: 318px;">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="IDLog"
            DataSourceID="VRSRVNegroamaro" Height="83px" Width="693px">
            <Columns>
                <asp:BoundField DataField="Evento" HeaderText="Evento" SortExpression="Evento">
                    <HeaderStyle Font-Bold="True" HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="Data_inserimento" DataFormatString="{0:d}" HtmlEncode="false"
                    HeaderText="Data" SortExpression="Data_inserimento">
                    <HeaderStyle Font-Bold="True" HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="Data_inserimento" DataFormatString="{0:HH:mm:ss}" HtmlEncode="false"
                    HeaderText="Ora" SortExpression="Data_inserimento">
                    <HeaderStyle Font-Bold="True" HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="Utente" HeaderText="Utente" SortExpression="Utente">
                    <HeaderStyle Font-Bold="True" HorizontalAlign="Left" />
                </asp:BoundField>
            </Columns>
            <RowStyle VerticalAlign="Middle" />
        </asp:GridView>
        <asp:SqlDataSource ID="VRSRVNegroamaro" runat="server" ConnectionString="<%$ ConnectionStrings:SqlServerConnection %>"
            SelectCommand="readLogPdfRM" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:QueryStringParameter Name="idImage" QueryStringField="noteID" Type="Int32" />
                <asp:QueryStringParameter Name="pdfC6" QueryStringField="pdfC6" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </div>
    <asp:Button ID="Indietro" runat="server" OnClick="ButtonIndietro" Style="left: 48px;
        position: absolute; top: 364px" Text="Indietro" Width="101px" />
    </form>
</body>
</html>