update (senza web reference) del rpogetto x gestione sync DB
This commit is contained in:
@@ -13,6 +13,7 @@ namespace C2P
|
||||
var settings = new FriendlyUrlSettings();
|
||||
settings.AutoRedirectMode = RedirectMode.Permanent;
|
||||
routes.EnableFriendlyUrls(settings);
|
||||
//routes.Add(new Route("Services/{resource}.asmx/{*pathInfo}", new StopRoutingHandler()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,6 +86,7 @@
|
||||
<Reference Include="System.Data.Entity" />
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Security" />
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
@@ -193,6 +194,7 @@
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.tabs.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.theme.min.css" />
|
||||
<Content Include="Content\themes\base\minified\jquery.ui.tooltip.min.css" />
|
||||
<Content Include="DbSync.aspx" />
|
||||
<Content Include="ExistingProductOffer.aspx" />
|
||||
<Content Include="fonts\fontawesome-webfont.svg" />
|
||||
<Content Include="fonts\glyphicons-halflings-regular.svg" />
|
||||
@@ -296,6 +298,7 @@
|
||||
<Content Include="WebUserControls\mod_righePag.ascx" />
|
||||
<Content Include="WebUserControls\mod_selPeriodo.ascx" />
|
||||
<Content Include="WebUserControls\mod_slider.ascx" />
|
||||
<Content Include="WebUserControls\mod_SyncVoc.ascx" />
|
||||
<Content Include="WebUserControls\mod_testata.ascx" />
|
||||
<Content Include="JumboPage.master" />
|
||||
<Content Include="FullPage.master" />
|
||||
@@ -380,6 +383,13 @@
|
||||
<Compile Include="Bootstrap.Master.designer.cs">
|
||||
<DependentUpon>Bootstrap.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DbSync.aspx.cs">
|
||||
<DependentUpon>DbSync.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="DbSync.aspx.designer.cs">
|
||||
<DependentUpon>DbSync.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Default.aspx.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -612,6 +622,13 @@
|
||||
<Compile Include="WebUserControls\mod_slider.ascx.designer.cs">
|
||||
<DependentUpon>mod_slider.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_SyncVoc.ascx.cs">
|
||||
<DependentUpon>mod_SyncVoc.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_SyncVoc.ascx.designer.cs">
|
||||
<DependentUpon>mod_SyncVoc.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_testata.ascx.cs">
|
||||
<DependentUpon>mod_testata.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -649,6 +666,9 @@
|
||||
<Name>C2P_Data</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Service References\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/c2p/Bootstrap.Master" AutoEventWireup="true" CodeBehind="DbSync.aspx.cs" Inherits="C2P.DbSync" %>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace C2P
|
||||
{
|
||||
public partial class DbSync : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+17
@@ -0,0 +1,17 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 C2P
|
||||
{
|
||||
|
||||
|
||||
public partial class DbSync
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,7 @@ using System.Web;
|
||||
using System.Web.Services;
|
||||
using System.Web.Script.Services;
|
||||
using C2P_Data;
|
||||
using SteamWare;
|
||||
|
||||
namespace C2P.Services
|
||||
{
|
||||
@@ -82,56 +83,23 @@ namespace C2P.Services
|
||||
}
|
||||
return suggerimenti.ToArray();
|
||||
}
|
||||
//[WebMethod]
|
||||
//[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
|
||||
//public string[] Fornitori(string prefixText)
|
||||
//{
|
||||
// // inizializzo risposta
|
||||
// List<string> suggerimenti = new List<string>();
|
||||
// // elenco candidati
|
||||
// DS_utilsProjEts.v_selFornitoriClaDataTable tabella = DataProxy_ProjEts.DP.taSelForn.getBySearchLike(prefixText);
|
||||
// // aggiungo ogni riga...
|
||||
// foreach (DS_utilsProjEts.v_selFornitoriClaRow riga in tabella)
|
||||
// {
|
||||
// //suggerimenti.Add(riga.label);
|
||||
// suggerimenti.Add(string.Format("{0}#{1}", riga.label, riga.value));
|
||||
// }
|
||||
// return suggerimenti.ToArray();
|
||||
//}
|
||||
|
||||
//[WebMethod]
|
||||
//[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
|
||||
//public string[] Commesse(string prefixText)
|
||||
//{
|
||||
// // inizializzo risposta
|
||||
// List<string> suggerimenti = new List<string>();
|
||||
// // elenco candidati
|
||||
// DS_utilsProjEts.v_selCommesseDataTable tabella = DataProxy_ProjEts.DP.taSelCom.getBySearchLike(prefixText);
|
||||
// // aggiungo ogni riga...
|
||||
// foreach (DS_utilsProjEts.v_selCommesseRow riga in tabella)
|
||||
// {
|
||||
// //suggerimenti.Add(riga.label);
|
||||
// suggerimenti.Add(string.Format("{0}#{1}", riga.label, riga.value));
|
||||
// }
|
||||
// return suggerimenti.ToArray();
|
||||
//}
|
||||
|
||||
|
||||
//[WebMethod]
|
||||
//[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
|
||||
//public string[] Protocolli(string prefixText)
|
||||
//{
|
||||
// // inizializzo risposta
|
||||
// List<string> suggerimenti = new List<string>();
|
||||
// // elenco candidati
|
||||
// DS_utilsWebShip.v_selDocDataTable tabella = DataProxy_ETS_WS.DP.taVSD.GetData(prefixText);
|
||||
// // aggiungo ogni riga...
|
||||
// foreach (DS_utilsWebShip.v_selDocRow riga in tabella)
|
||||
// {
|
||||
// //suggerimenti.Add(riga.label);
|
||||
// suggerimenti.Add(string.Format("{0}#{1}", riga.value, riga.label));
|
||||
// }
|
||||
// return suggerimenti.ToArray();
|
||||
//}
|
||||
[WebMethod]
|
||||
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
|
||||
public string[] Vocabolario()
|
||||
{
|
||||
// inizializzo risposta
|
||||
List<string> suggerimenti = new List<string>();
|
||||
// elenco candidati
|
||||
DataLayer_generic.VocabolarioDataTable tabella = selDataVoc.mgr.getVocabolario();
|
||||
// aggiungo ogni riga...
|
||||
foreach (DataLayer_generic.VocabolarioRow riga in tabella)
|
||||
{
|
||||
//suggerimenti.Add(riga.label);
|
||||
suggerimenti.Add(string.Format("{0}#{1}#{2}", riga.Lingua, riga.Lemma, riga.Traduzione));
|
||||
}
|
||||
return suggerimenti.ToArray();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,4 +114,8 @@
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</location>
|
||||
<system.serviceModel>
|
||||
<bindings />
|
||||
<client />
|
||||
</system.serviceModel>
|
||||
</configuration>
|
||||
@@ -0,0 +1 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_SyncVoc.ascx.cs" Inherits="C2P.WebUserControls.mod_SyncVoc" %>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
public partial class mod_SyncVoc : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 C2P.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class mod_SyncVoc
|
||||
{
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3055,6 +3055,11 @@
|
||||
classe accesso tabelle selettori
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:SteamWare.selDataVoc.mgr">
|
||||
<summary>
|
||||
singleton
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:SteamWare.selDataVoc.getVocabolario">
|
||||
<summary>
|
||||
tabella vocabolario
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user