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

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>

    <form id="form1" runat="server">
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt">
            <LocalReport ReportPath="Reportes\ReporteAsientosContables.rdlc">
                <DataSources>
                    <rsweb:ReportDataSource DataSourceId="DataSetReporteListaAsientos" Name="DataSet1" />
                </DataSources>
            </LocalReport>
        </rsweb:ReportViewer>
        <asp:SqlDataSource ID="DataSetReporteListaAsientos" runat="server" ConnectionString="<%$ ConnectionStrings:SHIOL_CONTA_BTHConnectionString %>" SelectCommand="UCO_AsientosContables_Select" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:QueryStringParameter Name="NomCabecera" QueryStringField="NomCabecera" Type="String" />
                <asp:QueryStringParameter Name="NomCabeceraDetalle" QueryStringField="NomCabeceraDetalle" Type="String" />
                <asp:QueryStringParameter Name="Empresa" QueryStringField="Empresa" Type="String" />
                <asp:QueryStringParameter Name="anio" QueryStringField="anio" Type="String" />
                <asp:QueryStringParameter Name="FechaDesde" QueryStringField="FechaDesde" Type="DateTime" />
                <asp:QueryStringParameter Name="FechaHasta" QueryStringField="FechaHasta" Type="DateTime" />
                <asp:QueryStringParameter Name="PlanCuentaID" QueryStringField="PlanCuentaID" Type="String" />
                <asp:QueryStringParameter Name="PlanCuentaID2" QueryStringField="PlanCuentaID2" Type="String" />
                <asp:QueryStringParameter Name="SubDiarioID" QueryStringField="SubDiarioID" Type="String" />
                <asp:QueryStringParameter Name="HotelID" QueryStringField="HotelID" Type="Int32" />
                <asp:QueryStringParameter Name="WhereCondition" QueryStringField="WhereCondition" Type="String" />
                <asp:QueryStringParameter Name="HavingCondition" ConvertEmptyStringToNull="true" QueryStringField="HavingCondition" Type="String" />
                <asp:QueryStringParameter Name="TiposCuadre" QueryStringField="TiposCuadre" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    </form>

</body>
</html>
