This commit is contained in:
jnunez 2018-08-09 06:16:48 +00:00
parent dc1314f385
commit ada2695dc8
42 changed files with 5938 additions and 405 deletions

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>

Binary file not shown.

View file

@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
<!-- Enable the restore command to run before builds -->
<RestorePackages Condition=" '$(RestorePackages)' == '' ">false</RestorePackages>
<!-- Property that enables building a package from a project -->
<BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage>
<!-- Determines if package restore consent is required to restore packages -->
<RequireRestoreConsent Condition=" '$(RequireRestoreConsent)' != 'false' ">true</RequireRestoreConsent>
<!-- Download NuGet.exe if it does not already exist -->
<DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
</PropertyGroup>
<ItemGroup Condition=" '$(PackageSources)' == '' ">
<!-- Package sources used to restore packages. By default, registered sources under %APPDATA%\NuGet\NuGet.Config will be used -->
<!-- The official NuGet package source (https://www.nuget.org/api/v2/) will be excluded if package sources are specified and it does not appear in the list -->
<!--
<PackageSource Include="https://www.nuget.org/api/v2/" />
<PackageSource Include="https://my-nuget-source/nuget/" />
-->
</ItemGroup>
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT'">
<!-- Windows specific commands -->
<NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
<!-- We need to launch nuget.exe with the mono command if we're not on windows -->
<NuGetToolsPath>$(SolutionDir).nuget</NuGetToolsPath>
</PropertyGroup>
<PropertyGroup>
<PackagesProjectConfig Condition=" '$(OS)' == 'Windows_NT'">$(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config</PackagesProjectConfig>
<PackagesProjectConfig Condition=" '$(OS)' != 'Windows_NT'">$(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config</PackagesProjectConfig>
</PropertyGroup>
<PropertyGroup>
<PackagesConfig Condition="Exists('$(MSBuildProjectDirectory)\packages.config')">$(MSBuildProjectDirectory)\packages.config</PackagesConfig>
<PackagesConfig Condition="Exists('$(PackagesProjectConfig)')">$(PackagesProjectConfig)</PackagesConfig>
</PropertyGroup>
<PropertyGroup>
<!-- NuGet command -->
<NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\NuGet.exe</NuGetExePath>
<PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources>
<NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
<NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 "$(NuGetExePath)"</NuGetCommand>
<PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
<RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch>
<NonInteractiveSwitch Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' ">-NonInteractive</NonInteractiveSwitch>
<PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT'">"$(SolutionDir) "</PaddedSolutionDir>
<PaddedSolutionDir Condition=" '$(OS)' != 'Windows_NT' ">"$(SolutionDir)"</PaddedSolutionDir>
<!-- Commands -->
<RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand>
<BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols</BuildCommand>
<!-- We need to ensure packages are restored prior to assembly resolve -->
<BuildDependsOn Condition="$(RestorePackages) == 'true'">
RestorePackages;
$(BuildDependsOn);
</BuildDependsOn>
<!-- Make the build depend on restore packages -->
<BuildDependsOn Condition="$(BuildPackage) == 'true'">
$(BuildDependsOn);
BuildPackage;
</BuildDependsOn>
</PropertyGroup>
<Target Name="CheckPrerequisites">
<!-- Raise an error if we're unable to locate nuget.exe -->
<Error Condition="'$(DownloadNuGetExe)' != 'true' AND !Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
<!--
Take advantage of MsBuild's build dependency tracking to make sure that we only ever download nuget.exe once.
This effectively acts as a lock that makes sure that the download operation will only happen once and all
parallel builds will have to wait for it to complete.
-->
<MsBuild Targets="_DownloadNuGet" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadNuGetExe=$(DownloadNuGetExe)" />
</Target>
<Target Name="_DownloadNuGet">
<DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
</Target>
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(RestoreCommand)"
Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
<Exec Command="$(RestoreCommand)"
LogStandardErrorAsError="true"
Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
</Target>
<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(BuildCommand)"
Condition=" '$(OS)' != 'Windows_NT' " />
<Exec Command="$(BuildCommand)"
LogStandardErrorAsError="true"
Condition=" '$(OS)' == 'Windows_NT' " />
</Target>
<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<OutputFilename ParameterType="System.String" Required="true" />
</ParameterGroup>
<Task>
<Reference Include="System.Core" />
<Using Namespace="System" />
<Using Namespace="System.IO" />
<Using Namespace="System.Net" />
<Using Namespace="Microsoft.Build.Framework" />
<Using Namespace="Microsoft.Build.Utilities" />
<Code Type="Fragment" Language="cs">
<![CDATA[
try {
OutputFilename = Path.GetFullPath(OutputFilename);
Log.LogMessage("Downloading latest version of NuGet.exe...");
WebClient webClient = new WebClient();
webClient.DownloadFile("https://www.nuget.org/nuget.exe", OutputFilename);
return true;
}
catch (Exception ex) {
Log.LogErrorFromException(ex);
return false;
}
]]>
</Code>
</Task>
</UsingTask>
</Project>

View file

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
VisualStudioVersion = 12.0.40629.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSinort", "AYA.SlnSynor\AYA.SlnSinort.csproj", "{D672EAD6-E8C6-4374-B149-DED461546905}"
EndProject
@ -13,6 +13,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSinortModel.DAL", "A
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{ADB5B036-4ABE-4320-8B9A-7BAFB4B45202}"
ProjectSection(SolutionItems) = preProject
.nuget\NuGet.Config = .nuget\NuGet.Config
.nuget\NuGet.exe = .nuget\NuGet.exe
.nuget\NuGet.targets = .nuget\NuGet.targets
.nuget\packages.config = .nuget\packages.config
EndProjectSection
EndProject

View file

@ -24,6 +24,8 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -44,6 +46,9 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
@ -175,6 +180,13 @@
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">

View file

@ -202,6 +202,11 @@ namespace AYA.SlnSinort.WCF
[OperationContract]
List<TipoPregunta> ObtenerTipoPregunta();
#endregion
#region Reporte
[OperationContract]
List<Reportes> ObtenerReportes();
#endregion
}
[DataContract]

View file

@ -19,6 +19,7 @@ using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.Reporting.WebForms;
////using AYA.SlnSinort.WCF.ServiciosUsuariosWCF;
@ -1251,7 +1252,7 @@ namespace AYA.SlnSinort.WCF
}
return model;
}
#endregion
public EncuestaJSON GuardarRespuestaEncuesta(EncuestaJSON model)
{
try
@ -1279,6 +1280,120 @@ namespace AYA.SlnSinort.WCF
}
return model;
}
#endregion
#region Reportes
//private DataSet tds = new DataSet();
//private void SetLocalReport(string Reporte)
//{
// ReportViewer reportViewer = new ReportViewer();
// reportViewer.ProcessingMode = ProcessingMode.Local;
// reportViewer.SizeToReportContent = true;
// reportViewer.Width = Unit.Percentage(100);
// reportViewer.Height = Unit.Percentage(100);
// FillDataSet(Reporte);
// switch (Reporte)
// {
// case "Aplicacion":
// reportViewer.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repAplicacion.rdlc";
// reportViewer.LocalReport.DataSources.Add(new ReportDataSource("dtsAplicacion", tds.Tables["Datos"]));
// break;
// case "FichaTecnica":
// reportViewer.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"Reportes\repFichaTecnica.rdlc";
// reportViewer.LocalReport.DataSources.Add(new ReportDataSource("dtsFichaTecnica", tds.Tables["Datos"]));
// break;
// }
// reportViewer.LocalReport.SetParameters(GetParametersLocal(Reporte));
// ViewBag.ReportViewer = reportViewer;
//}
//private void FillDataSet(string Reporte)
//{
// string connectionString = GetConnectionString();
// using (SqlConnection sqlConnection = new SqlConnection(connectionString))
// {
// string queryString = GetQueryString(Reporte);
// SqlDataAdapter sqlDataAapter = new SqlDataAdapter(queryString, sqlConnection);
// sqlDataAapter.Fill(tds, "Datos");
// }
//}
//private string GetConnectionString()
//{
// return "data source=192.168.1.37;initial catalog=SinortAyA;user id=sinort;password=sinort2018";
//}
//private string GetQueryString(string Reporte)
//{
// string Respuesta = "";
// switch (Reporte)
// {
// case "Aplicacion":
// Respuesta = "SELECT "
// + " [IdAplicacion] ,[Descripcion] FROM "
// + " [Catalogos].[Aplicacion]";
// break;
// case "Estados":
// Respuesta = "SELECT "
// + " [IdEstado] ,[Descripcion] FROM "
// + " [Catalogos].[Estado]";
// break;
// }
// return Respuesta;
//}
//private ReportParameter[] GetParametersLocal(string Reporte)
//{
// ReportParameter[] Respuesta = new ReportParameter[] { };
// ReportParameter p1 = new ReportParameter();
// ReportParameter p2 = new ReportParameter();
// switch (Reporte)
// {
// case "Aplicacion":
// p1 = new ReportParameter("prmTitulo1", "SINORT");
// p2 = new ReportParameter("prmTitulo2", "ATESA");
// Respuesta = new ReportParameter[] { p1, p2 };
// break;
// case "Estados":
// p1 = new ReportParameter("prmTitulo1", "SINORT");
// p2 = new ReportParameter("prmTitulo2", "ATESA");
// Respuesta = new ReportParameter[] { p1, p2 };
// break;
// }
// return Respuesta;
//}
#endregion
}
}

View file

@ -841,5 +841,22 @@ namespace AYA.SlnSinort.WCF
return respuesta;
}
#endregion
#region Reportes
public List<Reportes> ObtenerReportes()
{
List<Reportes> respuesta = null;
try
{
respuesta = new ReportesDAL().ObtenerReportes();
}
catch (Exception ex)
{
log.Error(ex);
}
return respuesta;
}
#endregion
}
}

View file

@ -27,6 +27,8 @@
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<NuGetPackageImportStamp>99dbc84c</NuGetPackageImportStamp>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -250,6 +252,23 @@
<DesignTime>True</DesignTime>
<DependentUpon>dtsAplicacion.xsd</DependentUpon>
</Compile>
<Compile Include="Reportes\datasets\dtsFichaTecnica.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>dtsFichaTecnica.xsd</DependentUpon>
</Compile>
<Compile Include="Reportes\datasets\dtsFichaTecnicaFinal.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>dtsFichaTecnicaFinal.xsd</DependentUpon>
</Compile>
<Compile Include="Reportes\Reporte.aspx.cs">
<DependentUpon>Reporte.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Reportes\Reporte.aspx.designer.cs">
<DependentUpon>Reporte.aspx</DependentUpon>
</Compile>
<Compile Include="Service References\ServicioSinortWCF\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
@ -6460,6 +6479,7 @@
<Content Include="plugins\timepicker\bootstrap-timepicker.js" />
<Content Include="plugins\timepicker\bootstrap-timepicker.min.css" />
<Content Include="plugins\timepicker\bootstrap-timepicker.min.js" />
<Content Include="Reportes\Reporte.aspx" />
<Content Include="Scripts\Atesa-Framework.js" />
<Content Include="Scripts\autoNumeric\autoNumeric-min.js" />
<Content Include="Scripts\autoNumeric\autoNumeric.js" />
@ -7225,6 +7245,28 @@
<Content Include="Reportes\datasets\dtsAplicacion.xss">
<DependentUpon>dtsAplicacion.xsd</DependentUpon>
</Content>
<Content Include="Reportes\datasets\dtsFichaTecnica.xsc">
<DependentUpon>dtsFichaTecnica.xsd</DependentUpon>
</Content>
<None Include="Reportes\datasets\dtsFichaTecnica.xsd">
<SubType>Designer</SubType>
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>dtsFichaTecnica.Designer.cs</LastGenOutput>
</None>
<Content Include="Reportes\datasets\dtsFichaTecnica.xss">
<DependentUpon>dtsFichaTecnica.xsd</DependentUpon>
</Content>
<Content Include="Reportes\datasets\dtsFichaTecnicaFinal.xsc">
<DependentUpon>dtsFichaTecnicaFinal.xsd</DependentUpon>
</Content>
<None Include="Reportes\datasets\dtsFichaTecnicaFinal.xsd">
<SubType>Designer</SubType>
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>dtsFichaTecnicaFinal.Designer.cs</LastGenOutput>
</None>
<Content Include="Reportes\datasets\dtsFichaTecnicaFinal.xss">
<DependentUpon>dtsFichaTecnicaFinal.xsd</DependentUpon>
</Content>
<None Include="Scripts\jquery-3.3.1.intellisense.js" />
<Content Include="Scripts\fullcalendar\fullcalendar.js" />
<Content Include="Scripts\fullcalendar\fullcalendar.min.js" />
@ -7396,6 +7438,7 @@
<Content Include="Sinort-Scripts\Contenido.js" />
<Content Include="Sinort-Scripts\DocumentoTecnico.js" />
<Content Include="Sinort-Scripts\EmisorPN.js" />
<Content Include="Sinort-Scripts\EstadisticaReporte\FichaTecnica.js" />
<Content Include="Sinort-Scripts\GotitasNormativas.js" />
<Content Include="Sinort-Scripts\GotitasPendientes.js" />
<Content Include="Sinort-Scripts\NormativaReglamentacionTecnica.js" />
@ -7419,6 +7462,7 @@
<Content Include="Sinort-Scripts\PropuestaNormativa\Historico.js" />
<Content Include="Sinort-Scripts\PropuestaNormativa\PropuestaNormativa.js" />
<Content Include="Sinort-Scripts\ProyectoNormativo.js" />
<Content Include="Sinort-Scripts\Reporte.js" />
<Content Include="Sinort-Scripts\Rol.js" />
<Content Include="Sinort-Scripts\ROTn.js" />
<Content Include="Sinort-Scripts\SubCategoriaContenido.js" />
@ -7529,6 +7573,9 @@
<Content Include="Views\NormativaReglamentacionTecnica\ResponderEncuesta.cshtml" />
<Content Include="Views\NormativaReglamentacionTecnica\VerEncuestas.cshtml" />
<Content Include="Views\NormativaReglamentacionTecnica\ResponderMisEncuestas.cshtml" />
<Content Include="Views\NormativaReglamentacionTecnica\MisEncuestas.cshtml" />
<Content Include="Views\Reportes\Reporte.cshtml" />
<Content Include="Views\Reportes\FichaTecnica.cshtml" />
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
@ -7559,7 +7606,8 @@
<WCFMetadataStorage Include="Service References\ServicioSinortWCF\" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Reportes\rdlc\repAplicacion.rdlc" />
<EmbeddedResource Include="Reportes\rdlc\repFichaTecnica.rdlc" />
<EmbeddedResource Include="Reportes\rdlc\repFichaTecnicaFinal.rdlc" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
@ -7598,7 +7646,9 @@
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target>
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">

View file

@ -6,7 +6,7 @@ using System.Web.Mvc;
namespace AYA.SlnSinort.Controllers
{
[LoggingFilter]
//[LoggingFilter]
public class HomeController : BaseController
{
public ActionResult Index()

View file

@ -7,14 +7,20 @@ using Microsoft.Reporting.WebForms;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using AYA.SlnSinort.Reportes.datasets;
using AYA.SlnSinort.Reportes.datasets.dtsFichaTecnicaFinalTableAdapters;
namespace AYA.SlnSinort.Controllers
namespace AYA.SlnSinort.Controllers.Reportes
{
public class ReportesController : BaseController
{
private DataSet tds = new DataSet();
DataTable1TableAdapter aaa = new DataTable1TableAdapter();
dtsFichaTecnicaFinal ar = new dtsFichaTecnicaFinal();
ReportViewer reportViewer = new ReportViewer();
#region Controllers
// GET: Reportes
@ -22,58 +28,83 @@ namespace AYA.SlnSinort.Controllers
{
return View();
}
//Aplicacion
public ActionResult Aplicacion()
public ActionResult FichaTecnica(string emisor)
{
InitControllers();
if (emisor == null)
{
CargarReporte();
}
else
{
CargarReporteParemetros(emisor);
}
ViewBag.ReportViewer = reportViewer;
return PartialView("FichaTecnica");
}
public ActionResult Reporte()
{
InitControllers();
SetLocalReport("Aplicacion");
return View();
}
#endregion
#region Configuracion y Parametrizacion
private void SetLocalReport(string Reporte)
public void CargarReporteParemetros(string emisor)
{
ReportViewer reportViewer = new ReportViewer();
reportViewer.ProcessingMode = ProcessingMode.Local;
reportViewer.SizeToReportContent = true;
reportViewer.Width = Unit.Percentage(100);
reportViewer.Height = Unit.Percentage(100);
FillDataSet(Reporte);
aaa.Fill(ar.DataTable1, emisor);
reportViewer.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repFichaTecnica.rdlc";
reportViewer.LocalReport.DataSources.Clear();
reportViewer.LocalReport.DataSources.Add(new ReportDataSource("dtsFichaTecnicaFinal", ar.Tables["Datatable1"]));
switch (Reporte)
{
reportViewer.LocalReport.Refresh();
case "Aplicacion":
reportViewer.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repAplicacion.rdlc";
reportViewer.LocalReport.DataSources.Add(new ReportDataSource("dtsAplicacion", tds.Tables["Datos"]));
break;
case "Estados":
reportViewer.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"Reportes\repEstados.rdlc";
reportViewer.LocalReport.DataSources.Add(new ReportDataSource("dtsEstados", tds.Tables["Datos"]));
break;
}
reportViewer.LocalReport.SetParameters(GetParametersLocal(Reporte));
ViewBag.ReportViewer = reportViewer;
}
private void FillDataSet(string Reporte)
public void CargarReporte( )
{
reportViewer.ProcessingMode = ProcessingMode.Local;
reportViewer.SizeToReportContent = true;
reportViewer.Width = Unit.Percentage(100);
reportViewer.Height = Unit.Percentage(100);
aaa.Fill(ar.DataTable1,"");
reportViewer.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repFichaTecnica.rdlc";
reportViewer.LocalReport.DataSources.Clear();
reportViewer.LocalReport.DataSources.Add(new ReportDataSource("dtsFichaTecnicaFinal", ar.Tables["Datatable1"]));
reportViewer.LocalReport.Refresh();
}
private void FillDataSet(string Reporte,string emisor)
{
string connectionString = GetConnectionString();
using (SqlConnection sqlConnection = new SqlConnection(connectionString))
{
string queryString = GetQueryString(Reporte);
string queryString = GetQueryString(Reporte,emisor);
SqlDataAdapter sqlDataAapter = new SqlDataAdapter(queryString, sqlConnection);
@ -87,7 +118,7 @@ namespace AYA.SlnSinort.Controllers
return "data source=192.168.1.37;initial catalog=SinortAyA;user id=sinort;password=sinort2018";
}
private string GetQueryString(string Reporte)
private string GetQueryString(string Reporte,string emisor)
{
string Respuesta = "";
@ -101,10 +132,13 @@ namespace AYA.SlnSinort.Controllers
+ " [Catalogos].[Aplicacion]";
break;
case "Estados":
case "FichaTecnica":
Respuesta = "SELECT "
+ " [IdEstado] ,[Descripcion] FROM "
+ " [Catalogos].[Estado]";
+ "[IdFichaTecnica],[Nombre],[Identificacion],[DescripcionDocumentoTecnico], "
+ "[DescripcionAplicacion],[DescripcionContenido],[DescripcionGrupoTematico], "
+ "[DescripcionEmisor],[NumeroPublicacionVersion] FROM [Global].[FichaTecnica] f, "
+ "[Expediente].[DocumentosAdjuntos] d WHERE f.[IdDocumento] = d.[IdDocumentoAdjunto] and "
+ "('" + emisor + "' is null or [DescripcionEmisor] = '" + emisor + "')";
break;
}
@ -132,12 +166,15 @@ namespace AYA.SlnSinort.Controllers
Respuesta = new ReportParameter[] { p1, p2 };
break;
case "Estados":
case "FichaTecnica":
p1 = new ReportParameter("prmTitulo1", "SINORT");
p2 = new ReportParameter("prmTitulo2", "ATESA");
string[] test = new string[3];
test[0] = "PR";
test[1] = "SINORT";
Respuesta = new ReportParameter[] { p1, p2 };
p1 = new ReportParameter("Aplicacion", test);
Respuesta = new ReportParameter[] { p1};
break;
}

View file

@ -0,0 +1,25 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Reporte.aspx.cs" Inherits="AYA.SlnSinort.Reportes.Reporte" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms" 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">
<div>
</div>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
<rsweb:ReportViewer ID="ReportViewer1" runat="server" BackColor="" ClientIDMode="AutoID" HighlightBackgroundColor="" InternalBorderColor="204, 204, 204" InternalBorderStyle="Solid" InternalBorderWidth="1px" LinkActiveColor="" LinkActiveHoverColor="" LinkDisabledColor="" PrimaryButtonBackgroundColor="" PrimaryButtonForegroundColor="" PrimaryButtonHoverBackgroundColor="" PrimaryButtonHoverForegroundColor="" SecondaryButtonBackgroundColor="" SecondaryButtonForegroundColor="" SecondaryButtonHoverBackgroundColor="" SecondaryButtonHoverForegroundColor="" SplitterBackColor="" ToolbarDividerColor="" ToolbarForegroundColor="" ToolbarForegroundDisabledColor="" ToolbarHoverBackgroundColor="" ToolbarHoverForegroundColor="" ToolBarItemBorderColor="" ToolBarItemBorderStyle="Solid" ToolBarItemBorderWidth="1px" ToolBarItemHoverBackColor="" ToolBarItemPressedBorderColor="51, 102, 153" ToolBarItemPressedBorderStyle="Solid" ToolBarItemPressedBorderWidth="1px" ToolBarItemPressedHoverBackColor="153, 187, 226" Width="100%">
<LocalReport ReportPath="Reportes\rdlc\repFichaTecnicaFinal.rdlc">
</LocalReport>
</rsweb:ReportViewer>
</form>
</body>
</html>

View file

@ -0,0 +1,49 @@
using AYA.SlnSinort.Reportes.datasets;
using AYA.SlnSinort.Reportes.datasets.dtsFichaTecnicaFinalTableAdapters;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.Reporting.WebForms;
namespace AYA.SlnSinort.Reportes
{
public partial class Reporte : System.Web.UI.Page
{
DataTable1TableAdapter dtta = new DataTable1TableAdapter();
dtsFichaTecnicaFinal dts = new dtsFichaTecnicaFinal();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
dtta.Fill(dts.DataTable1, "");
ReportViewer1.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repFichaTecnicaFinal.rdlc";
ReportViewer1.LocalReport.DataSources.Clear();
ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource("dtsFichaTecnicaFinal",dts.Tables["Datatable1"]));
}
}
protected void Button1_Click(object sender, EventArgs e)
{
dtta.Fill(dts.DataTable1, TextBox1.Text);
ReportViewer1.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repFichaTecnicaFinal.rdlc";
ReportViewer1.LocalReport.DataSources.Clear();
ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource("dtsFichaTecnicaFinal", dts.Tables["Datatable1"]));
}
}
}

View file

@ -0,0 +1,60 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace AYA.SlnSinort.Reportes {
public partial class Reporte {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// ScriptManager1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.ScriptManager ScriptManager1;
/// <summary>
/// TextBox1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox TextBox1;
/// <summary>
/// Button1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button Button1;
/// <summary>
/// ReportViewer1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Microsoft.Reporting.WebForms.ReportViewer ReportViewer1;
}
}

View file

@ -0,0 +1,941 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#pragma warning disable 1591
namespace AYA.SlnSinort.Reportes.datasets {
/// <summary>
///Represents a strongly typed in-memory cache of data.
///</summary>
[global::System.Serializable()]
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
[global::System.Xml.Serialization.XmlRootAttribute("dtsFichaTecnica")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class dtsFichaTecnica : global::System.Data.DataSet {
private tbFichaTecnicaDataTable tabletbFichaTecnica;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public dtsFichaTecnica() {
this.BeginInit();
this.InitClass();
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
base.Relations.CollectionChanged += schemaChangedHandler;
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected dtsFichaTecnica(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
global::System.Data.DataSet ds = new global::System.Data.DataSet();
ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
if ((ds.Tables["tbFichaTecnica"] != null)) {
base.Tables.Add(new tbFichaTecnicaDataTable(ds.Tables["tbFichaTecnica"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
}
this.GetSerializationData(info, context);
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public tbFichaTecnicaDataTable tbFichaTecnica {
get {
return this.tabletbFichaTecnica;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
get {
return this._schemaSerializationMode;
}
set {
this._schemaSerializationMode = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new global::System.Data.DataTableCollection Tables {
get {
return base.Tables;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new global::System.Data.DataRelationCollection Relations {
get {
return base.Relations;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void InitializeDerivedDataSet() {
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataSet Clone() {
dtsFichaTecnica cln = ((dtsFichaTecnica)(base.Clone()));
cln.InitVars();
cln.SchemaSerializationMode = this.SchemaSerializationMode;
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override bool ShouldSerializeTables() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override bool ShouldSerializeRelations() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
this.Reset();
global::System.Data.DataSet ds = new global::System.Data.DataSet();
ds.ReadXml(reader);
if ((ds.Tables["tbFichaTecnica"] != null)) {
base.Tables.Add(new tbFichaTecnicaDataTable(ds.Tables["tbFichaTecnica"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXml(reader);
this.InitVars();
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
stream.Position = 0;
return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.InitVars(true);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars(bool initTable) {
this.tabletbFichaTecnica = ((tbFichaTecnicaDataTable)(base.Tables["tbFichaTecnica"]));
if ((initTable == true)) {
if ((this.tabletbFichaTecnica != null)) {
this.tabletbFichaTecnica.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.DataSetName = "dtsFichaTecnica";
this.Prefix = "";
this.Namespace = "http://tempuri.org/dtsFichaTecnica.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
this.tabletbFichaTecnica = new tbFichaTecnicaDataTable();
base.Tables.Add(this.tabletbFichaTecnica);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializetbFichaTecnica() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
dtsFichaTecnica ds = new dtsFichaTecnica();
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
any.Namespace = ds.Namespace;
sequence.Items.Add(any);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void tbFichaTecnicaRowChangeEventHandler(object sender, tbFichaTecnicaRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class tbFichaTecnicaDataTable : global::System.Data.TypedTableBase<tbFichaTecnicaRow> {
private global::System.Data.DataColumn columnIdFichaTecnica;
private global::System.Data.DataColumn columnNombre;
private global::System.Data.DataColumn columnIdentificacion;
private global::System.Data.DataColumn columnDescripcionDocumentoTecnico;
private global::System.Data.DataColumn columnDescripcionAplicacion;
private global::System.Data.DataColumn columnDescripcionContenido;
private global::System.Data.DataColumn columnDescripcionGrupoTematico;
private global::System.Data.DataColumn columnDescripcionEmisor;
private global::System.Data.DataColumn columnNumeroPublicacionVersion;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public tbFichaTecnicaDataTable() {
this.TableName = "tbFichaTecnica";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal tbFichaTecnicaDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected tbFichaTecnicaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn IdFichaTecnicaColumn {
get {
return this.columnIdFichaTecnica;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NombreColumn {
get {
return this.columnNombre;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn IdentificacionColumn {
get {
return this.columnIdentificacion;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DescripcionDocumentoTecnicoColumn {
get {
return this.columnDescripcionDocumentoTecnico;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DescripcionAplicacionColumn {
get {
return this.columnDescripcionAplicacion;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DescripcionContenidoColumn {
get {
return this.columnDescripcionContenido;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DescripcionGrupoTematicoColumn {
get {
return this.columnDescripcionGrupoTematico;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DescripcionEmisorColumn {
get {
return this.columnDescripcionEmisor;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NumeroPublicacionVersionColumn {
get {
return this.columnNumeroPublicacionVersion;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public tbFichaTecnicaRow this[int index] {
get {
return ((tbFichaTecnicaRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event tbFichaTecnicaRowChangeEventHandler tbFichaTecnicaRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event tbFichaTecnicaRowChangeEventHandler tbFichaTecnicaRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event tbFichaTecnicaRowChangeEventHandler tbFichaTecnicaRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event tbFichaTecnicaRowChangeEventHandler tbFichaTecnicaRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddtbFichaTecnicaRow(tbFichaTecnicaRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public tbFichaTecnicaRow AddtbFichaTecnicaRow(int IdFichaTecnica, string Nombre, string Identificacion, string DescripcionDocumentoTecnico, string DescripcionAplicacion, string DescripcionContenido, string DescripcionGrupoTematico, string DescripcionEmisor, string NumeroPublicacionVersion) {
tbFichaTecnicaRow rowtbFichaTecnicaRow = ((tbFichaTecnicaRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
IdFichaTecnica,
Nombre,
Identificacion,
DescripcionDocumentoTecnico,
DescripcionAplicacion,
DescripcionContenido,
DescripcionGrupoTematico,
DescripcionEmisor,
NumeroPublicacionVersion};
rowtbFichaTecnicaRow.ItemArray = columnValuesArray;
this.Rows.Add(rowtbFichaTecnicaRow);
return rowtbFichaTecnicaRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
tbFichaTecnicaDataTable cln = ((tbFichaTecnicaDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new tbFichaTecnicaDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnIdFichaTecnica = base.Columns["IdFichaTecnica"];
this.columnNombre = base.Columns["Nombre"];
this.columnIdentificacion = base.Columns["Identificacion"];
this.columnDescripcionDocumentoTecnico = base.Columns["DescripcionDocumentoTecnico"];
this.columnDescripcionAplicacion = base.Columns["DescripcionAplicacion"];
this.columnDescripcionContenido = base.Columns["DescripcionContenido"];
this.columnDescripcionGrupoTematico = base.Columns["DescripcionGrupoTematico"];
this.columnDescripcionEmisor = base.Columns["DescripcionEmisor"];
this.columnNumeroPublicacionVersion = base.Columns["NumeroPublicacionVersion"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnIdFichaTecnica = new global::System.Data.DataColumn("IdFichaTecnica", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdFichaTecnica);
this.columnNombre = new global::System.Data.DataColumn("Nombre", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNombre);
this.columnIdentificacion = new global::System.Data.DataColumn("Identificacion", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdentificacion);
this.columnDescripcionDocumentoTecnico = new global::System.Data.DataColumn("DescripcionDocumentoTecnico", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescripcionDocumentoTecnico);
this.columnDescripcionAplicacion = new global::System.Data.DataColumn("DescripcionAplicacion", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescripcionAplicacion);
this.columnDescripcionContenido = new global::System.Data.DataColumn("DescripcionContenido", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescripcionContenido);
this.columnDescripcionGrupoTematico = new global::System.Data.DataColumn("DescripcionGrupoTematico", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescripcionGrupoTematico);
this.columnDescripcionEmisor = new global::System.Data.DataColumn("DescripcionEmisor", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescripcionEmisor);
this.columnNumeroPublicacionVersion = new global::System.Data.DataColumn("NumeroPublicacionVersion", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumeroPublicacionVersion);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public tbFichaTecnicaRow NewtbFichaTecnicaRow() {
return ((tbFichaTecnicaRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new tbFichaTecnicaRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(tbFichaTecnicaRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.tbFichaTecnicaRowChanged != null)) {
this.tbFichaTecnicaRowChanged(this, new tbFichaTecnicaRowChangeEvent(((tbFichaTecnicaRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.tbFichaTecnicaRowChanging != null)) {
this.tbFichaTecnicaRowChanging(this, new tbFichaTecnicaRowChangeEvent(((tbFichaTecnicaRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.tbFichaTecnicaRowDeleted != null)) {
this.tbFichaTecnicaRowDeleted(this, new tbFichaTecnicaRowChangeEvent(((tbFichaTecnicaRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.tbFichaTecnicaRowDeleting != null)) {
this.tbFichaTecnicaRowDeleting(this, new tbFichaTecnicaRowChangeEvent(((tbFichaTecnicaRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovetbFichaTecnicaRow(tbFichaTecnicaRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
dtsFichaTecnica ds = new dtsFichaTecnica();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "tbFichaTecnicaDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class tbFichaTecnicaRow : global::System.Data.DataRow {
private tbFichaTecnicaDataTable tabletbFichaTecnica;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal tbFichaTecnicaRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tabletbFichaTecnica = ((tbFichaTecnicaDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int IdFichaTecnica {
get {
try {
return ((int)(this[this.tabletbFichaTecnica.IdFichaTecnicaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'IdFichaTecnica\' in table \'tbFichaTecnica\' is DBNull.", e);
}
}
set {
this[this.tabletbFichaTecnica.IdFichaTecnicaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Nombre {
get {
try {
return ((string)(this[this.tabletbFichaTecnica.NombreColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Nombre\' in table \'tbFichaTecnica\' is DBNull.", e);
}
}
set {
this[this.tabletbFichaTecnica.NombreColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Identificacion {
get {
try {
return ((string)(this[this.tabletbFichaTecnica.IdentificacionColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Identificacion\' in table \'tbFichaTecnica\' is DBNull.", e);
}
}
set {
this[this.tabletbFichaTecnica.IdentificacionColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string DescripcionDocumentoTecnico {
get {
try {
return ((string)(this[this.tabletbFichaTecnica.DescripcionDocumentoTecnicoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DescripcionDocumentoTecnico\' in table \'tbFichaTecnica\' is D" +
"BNull.", e);
}
}
set {
this[this.tabletbFichaTecnica.DescripcionDocumentoTecnicoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string DescripcionAplicacion {
get {
try {
return ((string)(this[this.tabletbFichaTecnica.DescripcionAplicacionColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DescripcionAplicacion\' in table \'tbFichaTecnica\' is DBNull." +
"", e);
}
}
set {
this[this.tabletbFichaTecnica.DescripcionAplicacionColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string DescripcionContenido {
get {
try {
return ((string)(this[this.tabletbFichaTecnica.DescripcionContenidoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DescripcionContenido\' in table \'tbFichaTecnica\' is DBNull.", e);
}
}
set {
this[this.tabletbFichaTecnica.DescripcionContenidoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string DescripcionGrupoTematico {
get {
try {
return ((string)(this[this.tabletbFichaTecnica.DescripcionGrupoTematicoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DescripcionGrupoTematico\' in table \'tbFichaTecnica\' is DBNu" +
"ll.", e);
}
}
set {
this[this.tabletbFichaTecnica.DescripcionGrupoTematicoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string DescripcionEmisor {
get {
try {
return ((string)(this[this.tabletbFichaTecnica.DescripcionEmisorColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DescripcionEmisor\' in table \'tbFichaTecnica\' is DBNull.", e);
}
}
set {
this[this.tabletbFichaTecnica.DescripcionEmisorColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string NumeroPublicacionVersion {
get {
try {
return ((string)(this[this.tabletbFichaTecnica.NumeroPublicacionVersionColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'NumeroPublicacionVersion\' in table \'tbFichaTecnica\' is DBNu" +
"ll.", e);
}
}
set {
this[this.tabletbFichaTecnica.NumeroPublicacionVersionColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsIdFichaTecnicaNull() {
return this.IsNull(this.tabletbFichaTecnica.IdFichaTecnicaColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetIdFichaTecnicaNull() {
this[this.tabletbFichaTecnica.IdFichaTecnicaColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsNombreNull() {
return this.IsNull(this.tabletbFichaTecnica.NombreColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetNombreNull() {
this[this.tabletbFichaTecnica.NombreColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsIdentificacionNull() {
return this.IsNull(this.tabletbFichaTecnica.IdentificacionColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetIdentificacionNull() {
this[this.tabletbFichaTecnica.IdentificacionColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDescripcionDocumentoTecnicoNull() {
return this.IsNull(this.tabletbFichaTecnica.DescripcionDocumentoTecnicoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDescripcionDocumentoTecnicoNull() {
this[this.tabletbFichaTecnica.DescripcionDocumentoTecnicoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDescripcionAplicacionNull() {
return this.IsNull(this.tabletbFichaTecnica.DescripcionAplicacionColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDescripcionAplicacionNull() {
this[this.tabletbFichaTecnica.DescripcionAplicacionColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDescripcionContenidoNull() {
return this.IsNull(this.tabletbFichaTecnica.DescripcionContenidoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDescripcionContenidoNull() {
this[this.tabletbFichaTecnica.DescripcionContenidoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDescripcionGrupoTematicoNull() {
return this.IsNull(this.tabletbFichaTecnica.DescripcionGrupoTematicoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDescripcionGrupoTematicoNull() {
this[this.tabletbFichaTecnica.DescripcionGrupoTematicoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsDescripcionEmisorNull() {
return this.IsNull(this.tabletbFichaTecnica.DescripcionEmisorColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetDescripcionEmisorNull() {
this[this.tabletbFichaTecnica.DescripcionEmisorColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsNumeroPublicacionVersionNull() {
return this.IsNull(this.tabletbFichaTecnica.NumeroPublicacionVersionColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetNumeroPublicacionVersionNull() {
this[this.tabletbFichaTecnica.NumeroPublicacionVersionColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class tbFichaTecnicaRowChangeEvent : global::System.EventArgs {
private tbFichaTecnicaRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public tbFichaTecnicaRowChangeEvent(tbFichaTecnicaRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public tbFichaTecnicaRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
#pragma warning restore 1591

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TableUISettings />
</DataSetUISetting>

View file

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dtsFichaTecnica" targetNamespace="http://tempuri.org/dtsFichaTecnica.xsd" xmlns:mstns="http://tempuri.org/dtsFichaTecnica.xsd" xmlns="http://tempuri.org/dtsFichaTecnica.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections />
<Tables />
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="dtsFichaTecnica" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dtsFichaTecnica" msprop:Generator_UserDSName="dtsFichaTecnica">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="tbFichaTecnica" msprop:Generator_TableClassName="tbFichaTecnicaDataTable" msprop:Generator_TableVarName="tabletbFichaTecnica" msprop:Generator_TablePropName="tbFichaTecnica" msprop:Generator_RowDeletingName="tbFichaTecnicaRowDeleting" msprop:Generator_RowChangingName="tbFichaTecnicaRowChanging" msprop:Generator_RowEvHandlerName="tbFichaTecnicaRowChangeEventHandler" msprop:Generator_RowDeletedName="tbFichaTecnicaRowDeleted" msprop:Generator_UserTableName="tbFichaTecnica" msprop:Generator_RowChangedName="tbFichaTecnicaRowChanged" msprop:Generator_RowEvArgName="tbFichaTecnicaRowChangeEvent" msprop:Generator_RowClassName="tbFichaTecnicaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdFichaTecnica" msprop:Generator_ColumnVarNameInTable="columnIdFichaTecnica" msprop:Generator_ColumnPropNameInRow="IdFichaTecnica" msprop:Generator_ColumnPropNameInTable="IdFichaTecnicaColumn" msprop:Generator_UserColumnName="IdFichaTecnica" type="xs:int" minOccurs="0" />
<xs:element name="Nombre" msprop:Generator_ColumnVarNameInTable="columnNombre" msprop:Generator_ColumnPropNameInRow="Nombre" msprop:Generator_ColumnPropNameInTable="NombreColumn" msprop:Generator_UserColumnName="Nombre" type="xs:string" minOccurs="0" />
<xs:element name="Identificacion" msprop:Generator_ColumnVarNameInTable="columnIdentificacion" msprop:Generator_ColumnPropNameInRow="Identificacion" msprop:Generator_ColumnPropNameInTable="IdentificacionColumn" msprop:Generator_UserColumnName="Identificacion" type="xs:string" minOccurs="0" />
<xs:element name="DescripcionDocumentoTecnico" msprop:Generator_ColumnVarNameInTable="columnDescripcionDocumentoTecnico" msprop:Generator_ColumnPropNameInRow="DescripcionDocumentoTecnico" msprop:Generator_ColumnPropNameInTable="DescripcionDocumentoTecnicoColumn" msprop:Generator_UserColumnName="DescripcionDocumentoTecnico" type="xs:string" minOccurs="0" />
<xs:element name="DescripcionAplicacion" msprop:Generator_ColumnVarNameInTable="columnDescripcionAplicacion" msprop:Generator_ColumnPropNameInRow="DescripcionAplicacion" msprop:Generator_ColumnPropNameInTable="DescripcionAplicacionColumn" msprop:Generator_UserColumnName="DescripcionAplicacion" type="xs:string" minOccurs="0" />
<xs:element name="DescripcionContenido" msprop:Generator_ColumnVarNameInTable="columnDescripcionContenido" msprop:Generator_ColumnPropNameInRow="DescripcionContenido" msprop:Generator_ColumnPropNameInTable="DescripcionContenidoColumn" msprop:Generator_UserColumnName="DescripcionContenido" type="xs:string" minOccurs="0" />
<xs:element name="DescripcionGrupoTematico" msprop:Generator_ColumnVarNameInTable="columnDescripcionGrupoTematico" msprop:Generator_ColumnPropNameInRow="DescripcionGrupoTematico" msprop:Generator_ColumnPropNameInTable="DescripcionGrupoTematicoColumn" msprop:Generator_UserColumnName="DescripcionGrupoTematico" type="xs:string" minOccurs="0" />
<xs:element name="DescripcionEmisor" msprop:Generator_ColumnVarNameInTable="columnDescripcionEmisor" msprop:Generator_ColumnPropNameInRow="DescripcionEmisor" msprop:Generator_ColumnPropNameInTable="DescripcionEmisorColumn" msprop:Generator_UserColumnName="DescripcionEmisor" type="xs:string" minOccurs="0" />
<xs:element name="NumeroPublicacionVersion" msprop:Generator_ColumnVarNameInTable="columnNumeroPublicacionVersion" msprop:Generator_ColumnPropNameInRow="NumeroPublicacionVersion" msprop:Generator_ColumnPropNameInTable="NumeroPublicacionVersionColumn" msprop:Generator_UserColumnName="NumeroPublicacionVersion" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:tbFichaTecnica" ZOrder="1" X="307" Y="135" Height="200" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="196" />
</Shapes>
<Connectors />
</DiagramLayout>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TableUISettings />
</DataSetUISetting>

View file

@ -0,0 +1,114 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dtsFichaTecnicaFinal" targetNamespace="http://tempuri.org/dtsFichaTecnicaFinal.xsd" xmlns:mstns="http://tempuri.org/dtsFichaTecnicaFinal.xsd" xmlns="http://tempuri.org/dtsFichaTecnicaFinal.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection ConnectionStringObject="Data Source=192.168.1.37;Initial Catalog=SinortAyA;Persist Security Info=True;User ID=sinort;Password=sinort2018;MultipleActiveResultSets=True;Application Name=EntityFramework" IsAppSettingsProperty="false" Modifier="Assembly" Name="Contex (AYA.SlnSinort.WCF)" ParameterPrefix="@" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DataTable1TableAdapter" GeneratorDataComponentClassName="DataTable1TableAdapter" Name="DataTable1" UserDataComponentName="DataTable1TableAdapter">
<MainSource>
<DbSource ConnectionRef="Contex (AYA.SlnSinort.WCF)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT [IdFichaTecnica],[Nombre],[Identificacion],[DescripcionDocumentoTecnico], [DescripcionAplicacion],[DescripcionContenido],[DescripcionGrupoTematico], [DescripcionEmisor],[NumeroPublicacionVersion] FROM [Global].[FichaTecnica] f, [Expediente].[DocumentosAdjuntos] d WHERE f.[IdDocumento] = d.[IdDocumentoAdjunto] and ([DescripcionEmisor] = @parametro1 or @parametro1 = '')</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="parametro1" ColumnName="DescripcionEmisor" DataSourceName="SinortAyA.Global.FichaTecnica" DataTypeServer="varchar(500)" DbType="AnsiString" Direction="Input" ParameterName="@parametro1" Precision="0" ProviderType="VarChar" Scale="0" Size="500" SourceColumn="DescripcionEmisor" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdFichaTecnica" DataSetColumn="IdFichaTecnica" />
<Mapping SourceColumn="Nombre" DataSetColumn="Nombre" />
<Mapping SourceColumn="Identificacion" DataSetColumn="Identificacion" />
<Mapping SourceColumn="DescripcionDocumentoTecnico" DataSetColumn="DescripcionDocumentoTecnico" />
<Mapping SourceColumn="DescripcionAplicacion" DataSetColumn="DescripcionAplicacion" />
<Mapping SourceColumn="DescripcionContenido" DataSetColumn="DescripcionContenido" />
<Mapping SourceColumn="DescripcionGrupoTematico" DataSetColumn="DescripcionGrupoTematico" />
<Mapping SourceColumn="DescripcionEmisor" DataSetColumn="DescripcionEmisor" />
<Mapping SourceColumn="NumeroPublicacionVersion" DataSetColumn="NumeroPublicacionVersion" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="dtsFichaTecnicaFinal" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dtsFichaTecnicaFinal" msprop:Generator_UserDSName="dtsFichaTecnicaFinal">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="DataTable1" msprop:Generator_TableClassName="DataTable1DataTable" msprop:Generator_TableVarName="tableDataTable1" msprop:Generator_RowChangedName="DataTable1RowChanged" msprop:Generator_TablePropName="DataTable1" msprop:Generator_RowDeletingName="DataTable1RowDeleting" msprop:Generator_RowChangingName="DataTable1RowChanging" msprop:Generator_RowEvHandlerName="DataTable1RowChangeEventHandler" msprop:Generator_RowDeletedName="DataTable1RowDeleted" msprop:Generator_RowClassName="DataTable1Row" msprop:Generator_UserTableName="DataTable1" msprop:Generator_RowEvArgName="DataTable1RowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdFichaTecnica" msprop:Generator_ColumnVarNameInTable="columnIdFichaTecnica" msprop:Generator_ColumnPropNameInRow="IdFichaTecnica" msprop:Generator_ColumnPropNameInTable="IdFichaTecnicaColumn" msprop:Generator_UserColumnName="IdFichaTecnica" type="xs:int" />
<xs:element name="Nombre" msprop:Generator_ColumnVarNameInTable="columnNombre" msprop:Generator_ColumnPropNameInRow="Nombre" msprop:Generator_ColumnPropNameInTable="NombreColumn" msprop:Generator_UserColumnName="Nombre" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Identificacion" msprop:Generator_ColumnVarNameInTable="columnIdentificacion" msprop:Generator_ColumnPropNameInRow="Identificacion" msprop:Generator_ColumnPropNameInTable="IdentificacionColumn" msprop:Generator_UserColumnName="Identificacion" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescripcionDocumentoTecnico" msprop:Generator_ColumnVarNameInTable="columnDescripcionDocumentoTecnico" msprop:Generator_ColumnPropNameInRow="DescripcionDocumentoTecnico" msprop:Generator_ColumnPropNameInTable="DescripcionDocumentoTecnicoColumn" msprop:Generator_UserColumnName="DescripcionDocumentoTecnico" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescripcionAplicacion" msprop:Generator_ColumnVarNameInTable="columnDescripcionAplicacion" msprop:Generator_ColumnPropNameInRow="DescripcionAplicacion" msprop:Generator_ColumnPropNameInTable="DescripcionAplicacionColumn" msprop:Generator_UserColumnName="DescripcionAplicacion" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescripcionContenido" msprop:Generator_ColumnVarNameInTable="columnDescripcionContenido" msprop:Generator_ColumnPropNameInRow="DescripcionContenido" msprop:Generator_ColumnPropNameInTable="DescripcionContenidoColumn" msprop:Generator_UserColumnName="DescripcionContenido" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescripcionGrupoTematico" msprop:Generator_ColumnVarNameInTable="columnDescripcionGrupoTematico" msprop:Generator_ColumnPropNameInRow="DescripcionGrupoTematico" msprop:Generator_ColumnPropNameInTable="DescripcionGrupoTematicoColumn" msprop:Generator_UserColumnName="DescripcionGrupoTematico" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescripcionEmisor" msprop:Generator_ColumnVarNameInTable="columnDescripcionEmisor" msprop:Generator_ColumnPropNameInRow="DescripcionEmisor" msprop:Generator_ColumnPropNameInTable="DescripcionEmisorColumn" msprop:Generator_UserColumnName="DescripcionEmisor" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumeroPublicacionVersion" msprop:Generator_ColumnVarNameInTable="columnNumeroPublicacionVersion" msprop:Generator_ColumnPropNameInRow="NumeroPublicacionVersion" msprop:Generator_ColumnPropNameInTable="NumeroPublicacionVersionColumn" msprop:Generator_UserColumnName="NumeroPublicacionVersion" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:DataTable1" />
<xs:field xpath="mstns:IdFichaTecnica" />
</xs:unique>
</xs:element>
</xs:schema>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:DataTable1" ZOrder="1" X="358" Y="178" Height="248" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="24" OldDataTableHeight="0" SplitterPosition="197" />
</Shapes>
<Connectors />
</DiagramLayout>

View file

@ -1,331 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Textbox Name="prmTitulo1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Parameters!prmTitulo1.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>prmTitulo1</rd:DefaultName>
<Top>0.0925in</Top>
<Left>0.95708in</Left>
<Height>0.25in</Height>
<Width>1in</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="prmTitulo2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Parameters!prmTitulo2.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>prmTitulo2</rd:DefaultName>
<Top>1.37375in</Top>
<Left>0.98833in</Left>
<Height>0.25in</Height>
<Width>1in</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Tablix2">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox9">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Id Aplicacion</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox9</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox11">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Descripcion</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox11</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox13">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox13</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="IdAplicacion">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!IdAplicacion.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>IdAplicacion</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Descripcion">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Descripcion.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Descripcion</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<ColSpan>2</ColSpan>
</CellContents>
</TablixCell>
<TablixCell />
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<KeepWithGroup>After</KeepWithGroup>
</TablixMember>
<TablixMember>
<Group Name="Details" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>dtsAplicacion</DataSetName>
<Top>0.56125in</Top>
<Left>0.98833in</Left>
<Height>0.5in</Height>
<Width>3in</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Tablix>
</ReportItems>
<Height>2in</Height>
<Style />
</Body>
<Width>6.5in</Width>
<Page>
<LeftMargin>1in</LeftMargin>
<RightMargin>1in</RightMargin>
<TopMargin>1in</TopMargin>
<BottomMargin>1in</BottomMargin>
<Style />
</Page>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="dtsAplicacion">
<ConnectionProperties>
<DataProvider>System.Data.DataSet</DataProvider>
<ConnectString>/* Local Connection */</ConnectString>
</ConnectionProperties>
<rd:DataSourceID>e028dadd-db6a-4a34-8e51-f8a98223dcef</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="dtsAplicacion">
<Query>
<DataSourceName>dtsAplicacion</DataSourceName>
<CommandText>/* Local Query */</CommandText>
</Query>
<Fields>
<Field Name="IdAplicacion">
<DataField>IdAplicacion</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Descripcion">
<DataField>Descripcion</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<rd:DataSetInfo>
<rd:DataSetName>dtsAplicacion</rd:DataSetName>
<rd:SchemaPath>C:\TFS-Atesa\SINORT\AYA.SlnSynor\AYA.SlnSynor\Reportes\datasets\dtsAplicacion.xsd</rd:SchemaPath>
<rd:TableName>tbAplicacion</rd:TableName>
<rd:TableAdapterFillMethod />
<rd:TableAdapterGetDataMethod />
<rd:TableAdapterName />
</rd:DataSetInfo>
</DataSet>
</DataSets>
<ReportParameters>
<ReportParameter Name="prmTitulo1">
<DataType>String</DataType>
<Prompt>ReportParameter1</Prompt>
</ReportParameter>
<ReportParameter Name="prmTitulo2">
<DataType>String</DataType>
<Prompt>ReportParameter1</Prompt>
</ReportParameter>
</ReportParameters>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>e5477a3b-134d-49e1-b79c-a7bb3cb484ed</rd:ReportID>
</Report>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,384 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Tablix Name="Tablix1">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>2.5cm</Width>
</TablixColumn>
<TablixColumn>
<Width>2.5cm</Width>
</TablixColumn>
<TablixColumn>
<Width>2.5cm</Width>
</TablixColumn>
<TablixColumn>
<Width>2.5cm</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.6cm</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Id Ficha Tecnica</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Nombre</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox5">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Identificacion</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Descripcion Emisor</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox2</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.6cm</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="IdFichaTecnica">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!IdFichaTecnica.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>IdFichaTecnica</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Nombre">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Nombre.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Nombre</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Identificacion">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Identificacion.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Identificacion</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="DescripcionEmisor">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!DescripcionEmisor.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>DescripcionEmisor</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<KeepWithGroup>After</KeepWithGroup>
</TablixMember>
<TablixMember>
<Group Name="Details" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>dtsFichaTecnicaFinal</DataSetName>
<Top>1.90182cm</Top>
<Left>1.63724cm</Left>
<Height>1.2cm</Height>
<Width>10cm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Tablix>
</ReportItems>
<Height>2in</Height>
<Style />
</Body>
<Width>6.5in</Width>
<Page>
<PageHeight>29.7cm</PageHeight>
<PageWidth>21cm</PageWidth>
<LeftMargin>2cm</LeftMargin>
<RightMargin>2cm</RightMargin>
<TopMargin>2cm</TopMargin>
<BottomMargin>2cm</BottomMargin>
<ColumnSpacing>0.13cm</ColumnSpacing>
<Style />
</Page>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="dtsFichaTecnicaFinal">
<ConnectionProperties>
<DataProvider>System.Data.DataSet</DataProvider>
<ConnectString>/* Local Connection */</ConnectString>
</ConnectionProperties>
<rd:DataSourceID>6a718627-e4d2-45e5-be53-fa80487bffa0</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="dtsFichaTecnicaFinal">
<Query>
<DataSourceName>dtsFichaTecnicaFinal</DataSourceName>
<CommandText>/* Local Query */</CommandText>
</Query>
<Fields>
<Field Name="IdFichaTecnica">
<DataField>IdFichaTecnica</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="Nombre">
<DataField>Nombre</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Identificacion">
<DataField>Identificacion</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DescripcionDocumentoTecnico">
<DataField>DescripcionDocumentoTecnico</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DescripcionAplicacion">
<DataField>DescripcionAplicacion</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DescripcionContenido">
<DataField>DescripcionContenido</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DescripcionGrupoTematico">
<DataField>DescripcionGrupoTematico</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DescripcionEmisor">
<DataField>DescripcionEmisor</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="NumeroPublicacionVersion">
<DataField>NumeroPublicacionVersion</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<rd:DataSetInfo>
<rd:DataSetName>dtsFichaTecnicaFinal</rd:DataSetName>
<rd:SchemaPath>C:\AYA\SINORT\AYA.SlnSynor\AYA.SlnSynor\Reportes\datasets\dtsFichaTecnicaFinal.xsd</rd:SchemaPath>
<rd:TableName>DataTable1</rd:TableName>
<rd:TableAdapterFillMethod>Fill</rd:TableAdapterFillMethod>
<rd:TableAdapterGetDataMethod>GetData</rd:TableAdapterGetDataMethod>
<rd:TableAdapterName>DataTable1TableAdapter</rd:TableAdapterName>
</rd:DataSetInfo>
</DataSet>
</DataSets>
<rd:ReportUnitType>Cm</rd:ReportUnitType>
<rd:ReportID>ea5f9563-4ca0-4076-8091-2819970b8b8b</rd:ReportID>
</Report>

View file

@ -0,0 +1,547 @@
var model = {};
jQuery(document).ready(function () {
getDataModel();
});
this.getDataModel = function () {
CargarEmisor();
CargarAplicacion();
CargarContenido();
CargarGrupoTematico();
CargarDocumentoTecnico();
$("#txtFechaInicio").datepicker();
$("#txtFechaFinal").datepicker();
$("#btnBuscar").unbind("click");
$("#btnBuscar").click(function () {
BuscarReporte();
});
$("#btnBuscarEmisor").unbind("click");
$("#btnBuscarEmisor").click(function () {
if ($.fn.DataTable.isDataTable('#tableEmisor')) {
LoadMessage();
$('#tableEmisor').DataTable().search('').draw();
$('#modalEmisor').modal('show');
ENDREQUEST();
}
});
$("#btnBuscarAplicacion").unbind("click");
$("#btnBuscarAplicacion").click(function () {
if ($.fn.DataTable.isDataTable('#tableAplicacion')) {
LoadMessage();
$('#tableAplicacion').DataTable().search('').draw();
$('#modalAplicacion').modal('show');
ENDREQUEST();
}
});
$("#btnBuscarDocumentoTecnico").unbind("click");
$("#btnBuscarDocumentoTecnico").click(function () {
if ($.fn.DataTable.isDataTable('#tableDocumentoTecnico')) {
LoadMessage();
$('#tableDocumentoTecnico').DataTable().search('').draw();
$('#modalDocumentoTecnico').modal('show');
ENDREQUEST();
}
});
$("#btnBuscarContenido").unbind("click");
$("#btnBuscarContenido").click(function () {
if ($.fn.DataTable.isDataTable('#tableContenido')) {
LoadMessage();
$('#tableContenido').DataTable().search('').draw();
$('#modalContenido').modal('show');
ENDREQUEST();
}
});
$("#btnBuscarSubCategoriaContenido").unbind("click");
$("#btnBuscarSubCategoriaContenido").click(function () {
SelectedCatalog = 'SubCategoriaContenido';
if ($.fn.DataTable.isDataTable('#tableSubCategoriaContenido')) {
LoadMessage();
$('#tableSubCategoriaContenido').DataTable().search('').draw();
$('#modalSubCategoriaContenido').modal('show');
ENDREQUEST();
}
});
$("#btnBuscarGrupoTematico").unbind("click");
$("#btnBuscarGrupoTematico").click(function () {
SelectedCatalog = 'GrupoTematico';
if ($.fn.DataTable.isDataTable('#tableGrupoTematico')) {
LoadMessage();
$('#tableGrupoTematico').DataTable().search('').draw();
$('#modalGrupoTematico').modal('show');
ENDREQUEST();
}
});
$("#btnBuscarSubCategoriaGrupoTematico").unbind("click");
$("#btnBuscarSubCategoriaGrupoTematico").click(function () {
SelectedCatalog = 'SubCategoriaGrupoTematico';
if ($.fn.DataTable.isDataTable('#tableSubCategoriaGrupoTematico')) {
LoadMessage();
$('#tableSubCategoriaGrupoTematico').DataTable().search('').draw();
$('#modalSubCategoriaGrupoTematico').modal('show');
ENDREQUEST();
}
});
$("#btn_eliminarDocumentoTecnico").unbind("click");
$("#btn_eliminarDocumentoTecnico").click(function () {
$('#txtDocumentoTecnico').val('');
});
$("#btn_eliminarContenido").unbind("click");
$("#btn_eliminarContenido").click(function () {
$('#txtContenido').val('');
$('#txtSubCategoriaContenido').val('');
});
$("#btn_eliminarSubCategoriaContenido").unbind("click");
$("#btn_eliminarSubCategoriaContenido").click(function () {
$('#txtSubCategoriaContenido').val('');
});
$("#btn_eliminarGrupoTematico").unbind("click");
$("#btn_eliminarGrupoTematico").click(function () {
$('#txtGrupoTematico').val('');
$('#txtSubCategoriaGrupoTematico').val('');
});
$("#btn_eliminarSubCategoriaGrupoTematico").unbind("click");
$("#btn_eliminarSubCategoriaGrupoTematico").click(function () {
$('#txtSubCategoriaGrupoTematico').val('');
});
$("#btn_eliminarEmisor").unbind("click");
$("#btn_eliminarEmisor").click(function () {
$('#txtEmisor').val('');
});
$("#btn_eliminarAplicacion").unbind("click");
$("#btn_eliminarAplicacion").click(function () {
$('#txtAplicacion').val('');
});
}
this.BuscarReporte = function (){
var uri = server + 'Reportes/FichaTecnica';
model ={
emisor: $('#txtEmisor').val()
}
$.ajax({
type: "POST",
url: uri,
data: JSON.stringify(model),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function () {
ENDREQUEST();
},
error: function () {
var container = document.getElementById('rptFichaTecnica');
var refreshContent = container.innerHTML;
container.innerHTML = refreshContent;
ENDREQUEST();
}
});
}
this.CargarEmisor = function (filtro) {
var uri = CatalogosWCF + '/api/ObtenerEmisorPopUp';
var model = {
IdTipo: 1,
filtro: filtro == null ? '' : '&filtro=' + filtro
}
AjaxPostData(uri, model, false, false, CargarGridEmisores, null, null);
}
this.CargarGridEmisores = function (data) {
if (data != null) {
listaEmisor = data;
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
var columnDefinition = [
{ "data": null, className: "center", defaultContent: Seleccionar },
{ "data": "codigo" },
{ "data": "descripcion" }
];
$('#tableEmisor').TableInit(0, false, true, true, false, columnDefinition, listaEmisor, false);
}
else {
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
}
}
this.CargarAplicacion = function (filtro) {
var uri = CatalogosWCF + '/api/ObtenerAplicacionPopUp';
var model = {
IdTipo: 1,
filtro: filtro == null ? '' : '&filtro=' + filtro
}
AjaxPostData(uri, model, false, false, CargarGridAplicacion, null, null);
}
this.CargarGridAplicacion = function (data) {
if (data != null) {
listaAplicacion = data;
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
var columnDefinition = [
{ "data": null, className: "center", defaultContent: Seleccionar },
{ "data": "codigo" },
{ "data": "descripcion" }
];
$('#tableAplicacion').TableInit(0, false, true, true, false, columnDefinition, listaAplicacion, false);
}
else {
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
}
}
this.CargarDocumentoTecnico = function (filtro) {
var uri = CatalogosWCF + '/api/ObtenerDocumentoTecnicoPopUp';
var model = {
IdTipo: 1,
filtro: filtro == null ? '' : '&filtro=' + filtro
}
AjaxPostData(uri, model, false, false, CargarGridDocumentoTecnico, null, null);
}
this.CargarGridDocumentoTecnico = function (data) {
if (data != null) {
listaDocumentoTecnico = data;
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
var columnDefinition = [
{ "data": null, className: "center", defaultContent: Seleccionar },
{ "data": "codigo" },
{ "data": "descripcion" }
];
$('#tableDocumentoTecnico').TableInit(0, false, true, true, false, columnDefinition, listaDocumentoTecnico, false);
}
else {
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
}
}
this.CargarContenido = function (filtro) {
var uri = CatalogosWCF + '/api/ObtenerContenidoPopUp';
var model = {
IdTipo: 1,
filtro: filtro == null ? '' : '&filtro=' + filtro
}
AjaxPostData(uri, model, false, false, CargarGridContenido, null, null);
}
this.CargarGridContenido = function (data) {
if (data != null) {
listaContenido = data;
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
var columnDefinition = [
{ "data": null, className: "center", defaultContent: Seleccionar },
{ "data": "codigo" },
{ "data": "descripcion" }
];
$('#tableContenido').TableInit(0, false, true, true, false, columnDefinition, listaContenido, false);
}
else {
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
}
}
this.CargarSubCategoriaContenido = function (filtro) {
var uri = CatalogosWCF + '/api/ObtenerSubCategoriaContenidoPopUp';
var model = {
IdTipo: $("#hiddenContenido").val(),
filtro: filtro == null ? '' : '&filtro=' + filtro
}
AjaxPostData(uri, model, false, false, CargarGridSubContenido, null, null);
}
this.CargarGridSubContenido = function (data) {
if (data != null) {
listaSubCategoriaContenido = data;
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
var columnDefinition = [
{ "data": null, className: "center", defaultContent: Seleccionar },
{ "data": "codigo" },
{ "data": "descripcion" }
];
$('#tableSubCategoriaContenido').TableInit(0, false, true, true, false, columnDefinition, listaSubCategoriaContenido, false);
ENDREQUEST();
}
else {
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
}
}
this.CargarGrupoTematico = function (filtro) {
var uri = CatalogosWCF + '/api/ObtenerGrupoTematicoPopUp';
var model = {
IdTipo: 1,
filtro: filtro == null ? '' : '&filtro=' + filtro
}
AjaxPostData(uri, model, false, false, CargarGridGrupoTematico, null, null);
}
this.CargarGridGrupoTematico = function (data) {
if (data != null) {
listaGrupoTematico = data;
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
var columnDefinition = [
{ "data": null, className: "center", defaultContent: Seleccionar },
{ "data": "codigo" },
{ "data": "descripcion" }
];
$('#tableGrupoTematico').TableInit(0, false, true, true, false, columnDefinition, listaGrupoTematico, false);
}
else {
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
}
}
this.CargarSubCategoriaGrupoTematico = function (filtro) {
var uri = CatalogosWCF + '/api/ObtenerSubCategoriaGrupoTematicoPopUp';
var model = {
IdTipo: $("#hiddenGrupoTematico").val(),
filtro: filtro == null ? '' : '&filtro=' + filtro
}
AjaxPostData(uri, model, false, false, CargarGridSubGrupoTematico, null, null);
}
this.CargarGridSubGrupoTematico = function (data) {
if (data != null) {
listaSubCategoriaGrupoTematico = data;
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
var columnDefinition = [
{ "data": null, className: "center", defaultContent: Seleccionar },
{ "data": "codigo" },
{ "data": "descripcion" }
];
$('#tableSubCategoriaGrupoTematico').TableInit(0, false, true, true, false, columnDefinition, listaSubCategoriaGrupoTematico, false);
ENDREQUEST();
}
else {
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
}
}
$('#tableEmisor').on('click', 'button', function () {
var data = $('#tableEmisor').DataTable().row($(this).parents('tr')).data();
$('#hiddenEmisor').val(data.codigo);
$('#txtEmisor').val(data.descripcion);
$('#modalEmisor').modal('hide');
});
$('#tableAplicacion').on('click', 'button', function () {
var data = $('#tableAplicacion').DataTable().row($(this).parents('tr')).data();
$('#hiddenAplicacion').val(data.codigo);
$('#txtAplicacion').val(data.descripcion);
$('#modalAplicacion').modal('hide');
});
$('#tableDocumentoTecnico').on('click', 'button', function () {
var data = $('#tableDocumentoTecnico').DataTable().row($(this).parents('tr')).data();
$('#hiddenDocumentoTecnico').val(data.codigo);
$('#txtDocumentoTecnico').val(data.descripcion);
$('#modalDocumentoTecnico').modal('hide');
});
$('#tableContenido').on('click', 'button', function () {
var data = $('#tableContenido').DataTable().row($(this).parents('tr')).data();
$('#hiddenContenido').val(data.codigo);
$('#txtContenido').val(data.descripcion);
$('#modalContenido').modal('hide');
CargarSubCategoriaContenido();
});
$('#tableSubCategoriaContenido').on('click', 'button', function () {
var data = $('#tableSubCategoriaContenido').DataTable().row($(this).parents('tr')).data();
if (SelectedCatalog == "SubCategoriaContenido") {
$('#hiddenSubCategoriaContenido').val(data.codigo);
$('#txtSubCategoriaContenido').val(data.descripcion);
}
$('#modalSubCategoriaContenido').modal('hide');
});
$('#tableGrupoTematico').on('click', 'button', function () {
var data = $('#tableGrupoTematico').DataTable().row($(this).parents('tr')).data();
if (SelectedCatalog == "GrupoTematico") {
$('#hiddenGrupoTematico').val(data.codigo);
$('#txtGrupoTematico').val(data.descripcion);
}
$('#modalGrupoTematico').modal('hide');
CargarSubCategoriaGrupoTematico();
});
$('#tableSubCategoriaGrupoTematico').on('click', 'button', function () {
var data = $('#tableSubCategoriaGrupoTematico').DataTable().row($(this).parents('tr')).data();
if (SelectedCatalog == "SubCategoriaGrupoTematico") {
$('#hiddenSubCategoriaGrupoTematico').val(data.codigo);
$('#txtSubCategoriaGrupoTematico').val(data.descripcion);
}
$('#modalSubCategoriaGrupoTematico').modal('hide');
});

View file

@ -41,7 +41,6 @@ $('#txtUsuarioUnico').change(function () {
this.ObtenerUsuarioAD = function () {
var uri = SinorLoginWCF + '/api/ObtenerUsuarioAD';
model = {
Usuario: $('#txtUsuarioUnico').val(),

View file

@ -73,6 +73,11 @@ this.CrearEncuesta = function (data) {
});
survey.mode = 'display';
survey
.onComplete
.add(function (result) {
@ -94,7 +99,7 @@ this.CrearEncuesta = function (data) {
});
var model = {
var model = {
UsuariosEncuesta: {
IdEncabezadoEncuesta: EncuestaId,
UsuarioSistema: UsuarioSistema,
@ -112,7 +117,7 @@ this.CrearEncuesta = function (data) {
$.each(data.ListaRespuestas, function (key, item) {
dataObject[item.NombrePregunta] = JSON.parse(item.Respuesta);
});
});
survey.data = dataObject;
survey.mode = 'display';

View file

@ -0,0 +1,50 @@

var Item = {};
jQuery(document).ready(function () {
CargarReporte();
});
this.CargarReporte = function () {
var uri = CatalogosWCF + '/api/ObtenerReportes';
AjaxPostData(uri, null, false, false, CargarTablaReporte, null, null);
}
this.CargarTablaReporte = function (data) {
if (data != null) {
lista = data;
var Seleccionar = $("#ucbtnReporte").html();
var columnDefinition = [
{ "data": "Reporte" },
{ "data": null, className: "center", defaultContent: Seleccionar }
];
$('#tableReporte').TableInit(1, true, true, true, true, columnDefinition, lista);
if ($.fn.DataTable.isDataTable('#tableReporte')) {
$('#tableReporte').DataTable().search('').draw();
ENDREQUEST();
}
}
}
$('#tableReporte').on('click', 'button', function () {
var data = $('#tableReporte').DataTable().row($(this).parents('tr')).data();
var mtzView = data.Vista.split('/')
url = $("#hiddenHref").val();
url = url.replace("View", mtzView[1]);
url = url.replace("Controller", mtzView[0]);
document.location.href = url;
});

View file

@ -12,7 +12,7 @@
<div class="row">
<div class="col-sm-4"><a href="javascript: EntrarVerEstadoFicha('1');"> <img class="img-responsive" src="~/dist/img/imgNormReg1.png"></div>
<div class="col-sm-4"><a href="javascript: ValidarAcceder('proyecto_normativo','Home','Ver proyectos y foros');"> <img class="img-responsive" src="~/dist/img/imgProyeNorm1.png"></div>
<div class="col-sm-4"><a href="#"> <img class="img-responsive" src="~/dist/img/imgEst1.png"></div>
<div class="col-sm-4"><a href="@Url.Action("Reporte", "Reportes")"> <img class="img-responsive" src="~/dist/img/imgEst1.png"></div>
</div>

View file

@ -0,0 +1,504 @@
@using ReportViewerForMvc;
@using System.Web.UI.WebControls;
@{
ViewBag.Title = "FichaTecnica";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<form id="formRepFichaTecnica" class="form-horizontal" role="form">
<div class="panel-body"> <h3>&nbsp;<i class="fa fa-file-text"></i>&nbsp; Reporte de Fichas Técnicas </h3> </div>
<div style="background-color: #fff">
<div class="panel-body">
<div class="row">
<div class="col-md-6">
@*---------------------Fecha de inicio ---------------------------------------------*@
<div class="form-group" id="divFechaInicio">
<label class="col-sm-4 control-label ControlsForms" id="lblFechaInicio">Fecha de Inicio</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<span class="input-group-addon"><i class="fa fa-calendar" id="iconFechaInicio"></i></span>
<input name="txtFechaInicio" class="form-control imput-xs" id="txtFechaInicio" type="text" readonly="readonly" dateformat="DD-MMMM-YYYY">
</div>
</div>
@*---------------------Fecha de fin---------------------------------------------*@
<div class="form-group" id="divFechaFin">
<label class="col-sm-4 control-label ControlsForms" id="lblFechaFin">Fecha Final</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<span class="input-group-addon"><i class="fa fa-calendar" id="iconFechaInicio"></i></span>
<input name="txtFechaFinal" class="form-control imput-xs" id="txtFechaFinal" type="text" readonly="readonly" dateformat="DD-MMMM-YYYY">
</div>
</div>
@*---------------------Documento Tecnico---------------------------------------------------------*@
<div class="form-group" id="divDocumentoTecnico">
<label class="col-sm-4 control-label ControlsForms" id="lblDocumentoTecnico">Documento Técnico</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<input id="hiddenDocumentoTecnico" type="hidden">
<input name="txtDocumentoTecnico" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtDocumentoTecnico" required="required" type="text" readonly="readonly" data-original-title="">
<span class="input-group-btn">
<button class="btn btn-default btn-medium" id="btn_eliminarDocumentoTecnico" type="button">
<i class="fa fa-close"></i>
</button>
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnBuscarDocumentoTecnico" type="button">
<i class="fa fa-search"></i>&nbsp;
</button>
</span>
</div>
</div>
@*---------------------Contenido---------------------------------------------------------*@
<div class="form-group" id="divContenido">
<label class="col-sm-4 control-label ControlsForms" id="lblContenido">Contenido</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<input id="hiddenContenido" type="hidden">
<input name="txtContenido" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtContenido" required="required" type="text" readonly="readonly" data-original-title="">
<span class="input-group-btn">
<button class="btn btn-default btn-medium" id="btn_eliminarContenido" type="button">
<i class="fa fa-close"></i>
</button>
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnBuscarContenido" type="button">
<i class="fa fa-search"></i>&nbsp;
</button>
</span>
</div>
</div>
@*---------------------SubCategoriaContenido---------------------------------------------------------*@
<div class="form-group" id="divSubCategoriaContenido">
<label class="col-sm-4 control-label ControlsForms" id="lblSubCategoriaContenido">SubCategoría (Contenido)</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<input id="hiddenSubCategoriaContenido" type="hidden">
<input name="txtSubCategoriaContenido" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtSubCategoriaContenido" required="required" type="text" readonly="readonly" data-original-title="">
<span class="input-group-btn">
<button class="btn btn-default btn-medium" id="btn_eliminarSubCategoriaContenido" type="button">
<i class="fa fa-close"></i>
</button>
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnBuscarSubCategoriaContenido" type="button">
<i class="fa fa-search"></i>&nbsp;
</button>
</span>
</div>
</div>
@*---------------------Filtrar---------------------------------------------------------*@
<div class="form-group" id="divBuscar">
<label class="col-sm-4 control-label ControlsForms" id="lblBuscar">Filtrar</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<button class=" btn btn-success btn-medium btn-margin-catalogo" id="btnBuscar" type="button">
<i class=" fa fa-search">
</i>&nbsp;
</button>
</div>
</div>
</div>
<div class="col-md-6">
@*@*---------------------GrupoTematico---------------------------------------------------------*@
<div class="form-group" id="divGrupoTematico">
<label class="col-sm-4 control-label ControlsForms" id="lblGrupoTematico">Grupo Temático</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<input id="hiddenGrupoTematico" type="hidden">
<input name="txtGrupoTematico" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtGrupoTematico" required="required" type="text" readonly="readonly" data-original-title="">
<span class="input-group-btn">
<button class="btn btn-default btn-medium" id="btn_eliminarGrupoTematico" type="button">
<i class="fa fa-close"></i>
</button>
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnBuscarGrupoTematico" type="button">
<i class="fa fa-search"></i>&nbsp;
</button>
</span>
</div>
</div>
@*---------------------SubCategoriaGrupoTematico---------------------------------------------------------*@
<div class="form-group" id="divSubCategoriaGrupoTematico">
<label class="col-sm-4 control-label ControlsForms" id="lblSubCategoriaContenido">SubCategoría (Grupo Temático)</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<input id="hiddenSubCategoriaGrupoTematico" type="hidden">
<input name="txtSubCategoriaGrupoTematico" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtSubCategoriaGrupoTematico" required="required" type="text" readonly="readonly" data-original-title="">
<span class="input-group-btn">
<button class="btn btn-default btn-medium" id="btn_eliminarSubCategoriaGrupoTematico" type="button">
<i class="fa fa-close"></i>
</button>
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnBuscarSubCategoriaGrupoTematico" type="button">
<i class="fa fa-search"></i>&nbsp;
</button>
</span>
</div>
</div>
@*---------------------Emisor---------------------------------------------------------*@
<div class="form-group" id="divEmisor">
<label class="col-sm-4 control-label ControlsForms" id="lblEmisor">Emisor</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<input id="hiddenEmisor" type="hidden">
<input name="txtEmisor" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtEmisor" required="required" type="text" readonly="readonly" data-original-title="">
<span class="input-group-btn">
<button class="btn btn-default btn-medium" id="btn_eliminarEmisor" type="button">
<i class="fa fa-close"></i>
</button>
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnBuscarEmisor" type="button">
<i class="fa fa-search"></i>&nbsp;
</button>
</span>
</div>
</div>
@*---------------------Aplicación---------------------------------------------------------*@
<div class="form-group" id="divAplicacion">
<label class="col-sm-4 control-label ControlsForms" id="lblaplicacion">Aplicación</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<input id="hiddenAplicacion" type="hidden">
<input name="txtAplicacion" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtAplicacion" required="required" type="text" readonly="readonly">
<span class="input-group-btn">
<button class="btn btn-default btn-medium" id="btn_eliminarAplicacion" type="button">
<i class="fa fa-close"></i>
</button>
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnBuscarAplicacion" type="button">
<i class="fa fa-search"></i>&nbsp;
</button>
</span>
</div>
</div>
@*---------------------Version Vigente---------------------------------------------------------*@
<div class="form-group " id="divVersionVigente">
<label class="col-sm-4 control-label ControlsForms" id="lblVersionVigente">Versión Vigente</label>
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
<input name="txtVersionVigente" class="form-control imput-xs" id="txtVersionVigente" type="text" />
</div>
</div>
</div>
<div class="col-md-12" style="width:100%" id="rptFichaTecnica">
@if (ViewBag.ReportViewer != null)
{
@Html.ReportViewer(ViewBag.ReportViewer as Microsoft.Reporting.WebForms.ReportViewer)
}
</div>
</div>
</div>
</div>
</form>
<div id="ucBtnSeleccionarCatalogo" style="display:none;">
<button type="button" id="btnSeleccionarCatalogo" class="btn btn-default btn-xs">
<i id="ibtnSeleccionarCatalogo" class="fa fa-check"></i>
</button>
</div>
@section Modals{
@*---------------------Catalogo Emisor---------------------------------------------------------*@
<div class="modal fade" id="modalEmisor" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
<div class="modal-dialog modal-lg" style="width:40%;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Catálogo Emisor</h4>
</div>
<div class="modal-body">
<br />
<div class="row">
<div class="col-md-12">
<table id="tableEmisor" class="table table-striped">
<thead>
<tr>
<th></th>
<th>Código</th>
<th>Descripción</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
@*---------------------Catalogo Documento Tecnico---------------------------------------------------------*@
<div class="modal fade" id="modalDocumentoTecnico" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
<div class="modal-dialog modal-lg" style="width:40%;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Catálogo Documento Técnico</h4>
</div>
<div class="modal-body">
<br />
<div class="row">
<div class="col-md-12">
<table id="tableDocumentoTecnico" class="table table-striped">
<thead>
<tr>
<th></th>
<th>Código</th>
<th>Descripción</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
@*---------------------Catalogo Aplicacion-----------------------------------------------------*@
<div class="modal fade" id="modalAplicacion" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
<div class="modal-dialog modal-lg" style="width:40%;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Catálogo Aplicación</h4>
</div>
<div class="modal-body">
<br />
<div class="row">
<div class="col-md-12">
<table id="tableAplicacion" class="table table-striped">
<thead>
<tr>
<th></th>
<th>Código</th>
<th>Descripción</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
@*---------------------Catalogo Contenido---------------------------------------------------------*@
<div class="modal fade" id="modalContenido" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
<div class="modal-dialog modal-lg" style="width:40%;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Catálogo Contenido</h4>
</div>
<div class="modal-body">
<br />
<div class="row">
<div class="col-md-12">
<table id="tableContenido" class="table table-striped">
<thead>
<tr>
<th></th>
<th>Código</th>
<th>Descripción</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
@*---------------------Catalogo Subcategoria Contenido---------------------------------------------------------*@
<div class="modal fade" id="modalSubCategoriaContenido" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
<div class="modal-dialog modal-lg" style="width:40%;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Catálogo Subcategoría Contenido</h4>
</div>
<div class="modal-body">
<br />
<div class="row">
<div class="col-md-12">
<table id="tableSubCategoriaContenido" class="table table-striped">
<thead>
<tr>
<th></th>
<th>Código</th>
<th>Descripción</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
@*---------------------Catalogo Grupo Tematico---------------------------------------------------------*@
<div class="modal fade" id="modalGrupoTematico" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
<div class="modal-dialog modal-lg" style="width:40%;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Catálogo Grupo Temático</h4>
</div>
<div class="modal-body">
<br />
<div class="row">
<div class="col-md-12">
<table id="tableGrupoTematico" class="table table-striped">
<thead>
<tr>
<th></th>
<th>Código</th>
<th>Descripción</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
@*---------------------Catalogo SubCategoria Grupo Tematico---------------------------------------------------------*@
<div class="modal fade" id="modalSubCategoriaGrupoTematico" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
<div class="modal-dialog modal-lg" style="width:40%;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Catálogo SubCategoría Grupo Temático</h4>
</div>
<div class="modal-body">
<br />
<div class="row">
<div class="col-md-12">
<table id="tableSubCategoriaGrupoTematico" class="table table-striped">
<thead>
<tr>
<th></th>
<th>Código</th>
<th>Descripción</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
}
@section scripts{
@Scripts.Render("~/Sinort-Scripts/EstadisticaReporte/FichaTecnica.js")
}

View file

@ -0,0 +1,50 @@

@{
ViewBag.Title = "Reporte";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<input type="hidden" id="hiddenHref" value="@string.Concat(Url.Action("View", "Controller", null), ViewBag.QueryEncripted)">
<form id="formReportes" class="form-horizontal" role="form">
<div class="panel-body"> <h3>&nbsp;<i class="glyphicon glyphicon-list-alt"></i>&nbsp; Mis Reportes </h3> </div>
<div style="background-color: #fff">
<div class="panel-body">
<br />
<div>
<table id="tableReporte" class="table table-condensed dataTable no-footer">
<thead>
<tr>
<th class="col-sm-5">Nombre</th>
<th class="col-sm-5">Acción</th>
</tr>
</thead>
</table>
</div>
<div id="ucbtnReporte" style=" display:none;">
<button type="button" id="btnseleccionar" class="btn btn-default btn-xs">
<i class="fa fa-search"></i>&nbsp;&nbsp;Ver
</button>
</div>
</div>
</div>
</form>
@section scripts{
@Scripts.Render("~/Sinort-Scripts/Reporte.js")
}

View file

@ -198,7 +198,7 @@
</a>
<ul class="treeview-menu">
<span><i class="fa fa-circle text-success"> Acciones</i> </span>
<li><a href="@Url.Action("Aplicacion", "Reportes")"> Ver Listado de Aplicación</a></li>
<li><a href="@Url.Action("Reporte", "Reportes")"> Ver Reporte</a></li>
</ul>
</li>

View file

@ -1,11 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
Para obtener más información acerca de cómo configurar una aplicación ASP.NET, consulte
http://go.microsoft.com/fwlink/?LinkId=301880
-->
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<sectionGroup name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection, DotNetOpenAuth.Core">
@ -15,9 +14,6 @@
<section name="oauth" type="DotNetOpenAuth.Configuration.OAuthElement, DotNetOpenAuth.OAuth" requirePermission="false" allowLocation="true" />
</sectionGroup>
</configSections>
<appSettings>
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
@ -40,26 +36,19 @@
<add key="RutaLogoSINORT" value="http://AYA-VSRV-APPTT:2525/dist/img/" />
<add key="RutaImagenes" value="http://AYA-VSRV-APPTT:2525/bower_components/Ionicons/png/512/" />
-->
<add key="MaxSizeFileLoadKB" value="5120" />
<add key="MaxSizeFileLoadKB" value="5120" />
<add key="MaxCountFileLoad" value="3" />
<add key="SinortWCF" value="http://localhost/AYA.SlnSinort.WCF/Sinort.svc" />
<add key="SinortWCF" value="http://localhost/AYA.SlnSinort.WCF/Sinort.svc" />
<add key="SinortCatalogosWCF" value="http://localhost/AYA.SlnSinort.WCF/SinortCatalogos.svc" />
<add key="FileRepository" value="C:\DocumentosSinort\" />
<add key="HttpRepository" value="http://localhost/AYA.SlnSinort/DocumentosSINORT/" />
<add key="FileUploadHandler" value="http://localhost/AYA.SlnSinort/FileUploadHandler" />
<add key="RutaLogoSINORT" value="http://localhost/AYA.SlnSinort/dist/img/" />
<add key="RutaImagenes" value="http://localhost/AYA.SlnSinort/bower_components/Ionicons/png/512/" />
</appSettings>
<system.web>
<sessionState timeout="5"></sessionState>
<sessionState timeout="5">
</sessionState>
<authentication mode="None" />
<compilation debug="true" targetFramework="4.5">
<buildProviders>
@ -71,9 +60,11 @@
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5" />
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false" />
</httpHandlers></system.web>
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
validate="false" />
</httpHandlers>
</system.web>
<system.webServer>
<modules>
<remove name="FormsAuthentication" />
@ -84,16 +75,15 @@
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff2" mimeType="font/woff2" />
</staticContent>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<!--<remove name="OPTIONSVerbHandler" />-->
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /></handlers>
<validation validateIntegratedModeConfiguration="false" /></system.webServer>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
</handlers>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
@ -229,7 +219,6 @@
</wsHttpBinding>
</bindings>
<client>
</client>
</system.serviceModel>
</configuration>

View file

@ -15,6 +15,8 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -92,6 +94,7 @@
<Compile Include="Sinort\PermisosUsuarioDAL.cs" />
<Compile Include="Sinort\PlantillaEmailDAL.cs" />
<Compile Include="Sinort\ProyectoNormativoDAL.cs" />
<Compile Include="Sinort\ReportesDAL.cs" />
<Compile Include="Sinort\RolesDAL.cs" />
<Compile Include="Sinort\SolicitudDAL.cs" />
<Compile Include="Sinort\SubCategoriaContenidoDAL.cs" />
@ -121,6 +124,13 @@
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">

View file

@ -0,0 +1,33 @@
using Atesa.Utilitarios;
using AYA.SlnSinortModel.Sinort;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AYA.SlnSinortModel.DAL.Sinort
{
public class ReportesDAL
{
Log log = new Log("ReportesDAL");
public List<Reportes> ObtenerReportes()
{
List<Reportes> registros = null;
try
{
using (SinortContex db = new SinortContex())
{
registros = db.Reportes.Where(t => t.Estado == true).OrderBy(q => q.Reporte).ToList();
}
}
catch (Exception ex)
{
log.Error(ex);
}
return registros;
}
}
}

View file

@ -15,6 +15,8 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -96,6 +98,7 @@
<Compile Include="Sinort\Partial\Contex.cs" />
<Compile Include="Sinort\PlantillaEmail.cs" />
<Compile Include="Sinort\ProyectoNormativo.cs" />
<Compile Include="Sinort\Reportes.cs" />
<Compile Include="Sinort\RespuestaEncuesta.cs" />
<Compile Include="Sinort\Role.cs" />
<Compile Include="Sinort\Roles.cs" />
@ -131,6 +134,13 @@
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">

View file

@ -0,0 +1,34 @@
namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Catalogos.Reportes")]
public partial class Reportes
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int IdReporte { get; set; }
[StringLength(50)]
public string Reporte { get; set; }
[StringLength(150)]
public string Vista { get; set; }
public bool? Estado { get; set; }
public DateTime? FechaCreacion { get; set; }
[StringLength(200)]
public string UsuarioCreacion { get; set; }
public DateTime? FechaModificacion { get; set; }
[StringLength(200)]
public string UsuarioModificacion { get; set; }
}
}

View file

@ -8,7 +8,6 @@ namespace AYA.SlnSinortModel.Sinort
public partial class SinortContex : Contex
{
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
public virtual DbSet<AreaAplicacionDocumentoTecnico> AreaAplicacionDocumentoTecnico { get; set; }
@ -22,6 +21,7 @@ namespace AYA.SlnSinortModel.Sinort
public virtual DbSet<PalabraClave> PalabraClave { get; set; }
public virtual DbSet<Pantallas> Pantallas { get; set; }
public virtual DbSet<PlantillaEmail> PlantillaEmail { get; set; }
public virtual DbSet<Reportes> Reportes { get; set; }
public virtual DbSet<Roles> Roles { get; set; }
public virtual DbSet<RolesPantallas> RolesPantallas { get; set; }
public virtual DbSet<RolesUsuario> RolesUsuario { get; set; }
@ -240,6 +240,22 @@ namespace AYA.SlnSinortModel.Sinort
.Property(e => e.UsuarioModificacion)
.IsUnicode(false);
modelBuilder.Entity<Reportes>()
.Property(e => e.Reporte)
.IsUnicode(false);
modelBuilder.Entity<Reportes>()
.Property(e => e.Vista)
.IsUnicode(false);
modelBuilder.Entity<Reportes>()
.Property(e => e.UsuarioCreacion)
.IsUnicode(false);
modelBuilder.Entity<Reportes>()
.Property(e => e.UsuarioModificacion)
.IsUnicode(false);
modelBuilder.Entity<Roles>()
.Property(e => e.Descripcion)
.IsUnicode(false);

View file

@ -15,6 +15,8 @@
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -87,6 +89,13 @@
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">