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

<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<%@ 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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
        <%--<telerik:RadScriptManager ID="RadScriptManager2" runat="server"></telerik:RadScriptManager>--%>

        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"  WaitMessageFont-Names="Verdana" WaitMessageFont-Size="12pt" Width="650%" Height="480px" PageCountMode="Actual">
            <LocalReport ReportPath="Reportes\AsientoContableDet.rdlc">
                <DataSources>
                    <rsweb:ReportDataSource DataSourceId="SqlDataSource1" Name="DataSet_AsientoConDet" />
                </DataSources>
            </LocalReport>
        </rsweb:ReportViewer>
    
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SHIOL_CONTA_BTHConnectionString %>" SelectCommand="UCO_AsientosContablesDetalles_Select" SelectCommandType="StoredProcedure"      CancelSelectOnNullParameter="False">
            <SelectParameters>
                <asp:QueryStringParameter DefaultValue="" Name="NomCabeceraDetalle" QueryStringField="NomCabeceraDetalle" Type="String" />
                <asp:SessionParameter DefaultValue="" Name="Empresa" SessionField="EmpresaID" Type="String" />
                <asp:SessionParameter DefaultValue="" Name="anio" SessionField="txtPeriodo" Type="String" />
                <asp:QueryStringParameter DefaultValue="" Name="AsientoContableID" QueryStringField="AsientoContableID" Type="String" />
                <asp:QueryStringParameter DefaultValue="" Name="AsientoContableDetalleID" QueryStringField="AsientoContableDetalleID" Type="String" />
            </SelectParameters>
        </asp:SqlDataSource>

        <asp:HiddenField ID="Periodo" runat="server" />
    </div>
    </form>
</body>
</html>
