Aggiunte immagini effetto 3d
Aggiunta maschera stato magazzino Aggiunto controllo per barplot (mod_barPlot) git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@81 365432ac-a1b5-4ffd-bb28-6d3099d32164
@@ -113,6 +113,13 @@
|
||||
<Compile Include="SearchMag.aspx.designer.cs">
|
||||
<DependentUpon>SearchMag.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="StatoMag.aspx.cs">
|
||||
<DependentUpon>StatoMag.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="StatoMag.aspx.designer.cs">
|
||||
<DependentUpon>StatoMag.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Test.aspx.cs">
|
||||
<DependentUpon>Test.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -124,6 +131,7 @@
|
||||
<Compile Include="Type\Bilancia.cs" />
|
||||
<Compile Include="Type\Cliente.cs" />
|
||||
<Compile Include="Type\CompanySito.cs" />
|
||||
<Compile Include="Type\DatoBarPlot.cs" />
|
||||
<Compile Include="Type\elenchi.cs" />
|
||||
<Compile Include="Type\Imballo.cs" />
|
||||
<Compile Include="Type\Impianto.cs" />
|
||||
@@ -208,6 +216,13 @@
|
||||
<Compile Include="WebUserControls\mod_anagMagazzini.ascx.designer.cs">
|
||||
<DependentUpon>mod_anagMagazzini.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_barPlot.ascx.cs">
|
||||
<DependentUpon>mod_barPlot.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_barPlot.ascx.designer.cs">
|
||||
<DependentUpon>mod_barPlot.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_chLang.ascx.cs">
|
||||
<DependentUpon>mod_chLang.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -453,6 +468,13 @@
|
||||
<Compile Include="WebUserControls\mod_listUDC.ascx.designer.cs">
|
||||
<DependentUpon>mod_listUDC.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_statoMag.ascx.cs">
|
||||
<DependentUpon>mod_statoMag.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_statoMag.ascx.designer.cs">
|
||||
<DependentUpon>mod_statoMag.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_tipoCella.ascx.cs">
|
||||
<DependentUpon>mod_tipoCella.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -550,6 +572,8 @@
|
||||
<Content Include="images\flag-pl.png" />
|
||||
<Content Include="images\flag-ru.png" />
|
||||
<Content Include="images\flag-xb.png" />
|
||||
<Content Include="images\giallo.png" />
|
||||
<Content Include="images\grigio.png" />
|
||||
<Content Include="images\header-opened.png" />
|
||||
<Content Include="images\help_16.png" />
|
||||
<Content Include="images\help_22.png" />
|
||||
@@ -577,6 +601,7 @@
|
||||
<Content Include="images\print_s.png" />
|
||||
<Content Include="images\ProgressBar.gif" />
|
||||
<Content Include="images\red32.png" />
|
||||
<Content Include="images\rosso.png" />
|
||||
<Content Include="images\select.gif" />
|
||||
<Content Include="images\select.png" />
|
||||
<Content Include="images\semaGiallo_l.gif" />
|
||||
@@ -594,6 +619,7 @@
|
||||
<Content Include="images\unknown_m.png" />
|
||||
<Content Include="images\unknown_s.png" />
|
||||
<Content Include="images\upLvl.png" />
|
||||
<Content Include="images\verde.png" />
|
||||
<Content Include="images\view.gif" />
|
||||
<Content Include="images\view.png" />
|
||||
<Content Include="images\view_disabled.gif" />
|
||||
@@ -609,6 +635,7 @@
|
||||
<Content Include="login.aspx" />
|
||||
<Content Include="menu.aspx" />
|
||||
<Content Include="SearchMag.aspx" />
|
||||
<Content Include="StatoMag.aspx" />
|
||||
<Content Include="Style.css" />
|
||||
<Content Include="Test.aspx" />
|
||||
<Content Include="vocabolario.aspx" />
|
||||
@@ -622,6 +649,7 @@
|
||||
<Content Include="WebUserControls\mod_anagBlocchi.ascx" />
|
||||
<Content Include="WebUserControls\mod_anagCelle.ascx" />
|
||||
<Content Include="WebUserControls\mod_anagMagazzini.ascx" />
|
||||
<Content Include="WebUserControls\mod_barPlot.ascx" />
|
||||
<Content Include="WebUserControls\mod_chLang.ascx" />
|
||||
<Content Include="WebUserControls\mod_confMag.ascx" />
|
||||
<Content Include="WebUserControls\mod_detailCelle.ascx" />
|
||||
@@ -657,6 +685,7 @@
|
||||
<Content Include="WebUserControls\mod_SearchProvUDC.ascx" />
|
||||
<Content Include="WebUserControls\mod_selettore_ajax.ascx" />
|
||||
<Content Include="WebUserControls\mod_listUDC.ascx" />
|
||||
<Content Include="WebUserControls\mod_statoMag.ascx" />
|
||||
<Content Include="WebUserControls\mod_tipoCella.ascx" />
|
||||
<Content Include="WebUserControls\mod_vocabolario.ascx" />
|
||||
</ItemGroup>
|
||||
@@ -694,7 +723,9 @@
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>57164</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost/GMW3</IISUrl>
|
||||
<IISUrl>http://localhost/GMW</IISUrl>
|
||||
<OverrideIISAppRootUrl>True</OverrideIISAppRootUrl>
|
||||
<IISAppRootUrl>http://localhost/GMW</IISAppRootUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="StatoMag.aspx.cs" Inherits="GMW.StatoMag" %>
|
||||
<%@ Register src="WebUserControls/mod_statoMag.ascx" tagname="mod_statoMag" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:mod_statoMag ID="mod_statoMag1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -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 GMW
|
||||
{
|
||||
public partial class StatoMag : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW {
|
||||
|
||||
|
||||
public partial class StatoMag {
|
||||
|
||||
/// <summary>
|
||||
/// mod_statoMag1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_statoMag mod_statoMag1;
|
||||
}
|
||||
}
|
||||
@@ -83,6 +83,31 @@
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* group barPlot a colori*/
|
||||
.sv
|
||||
{
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
background-image: url(images/verde_20.png);
|
||||
}
|
||||
.sg
|
||||
{
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
background-image: url(images/giallo_20.png);
|
||||
}
|
||||
.sr
|
||||
{
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
background-image: url(images/rosso_20.png);
|
||||
}
|
||||
.ss
|
||||
{
|
||||
text-align: center;
|
||||
height: 20px;
|
||||
background-image: url(images/grigio_20.png);
|
||||
}
|
||||
/*group search provider*/
|
||||
.SearchProviderTitle_1
|
||||
{
|
||||
|
||||
@@ -1,42 +1,16 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Ajax.master" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="GMW.Test" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Ajax.master" AutoEventWireup="true"
|
||||
CodeBehind="Test.aspx.cs" Inherits="GMW.Test" %>
|
||||
|
||||
<%@ Register assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.DataVisualization.Charting" tagprefix="asp" %>
|
||||
|
||||
<%@ Register src="WebUserControls/mod_barPlot.ascx" tagname="mod_barPlot" tagprefix="uc1" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:Label ID="Label1" runat="server" Text="Cod CS" />
|
||||
|
||||
<asp:TextBox ID="txtCodCs" runat="server" AutoPostBack="True" Text="MA" />
|
||||
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
|
||||
DataKeyNames="CodMag" DataSourceID="ods">
|
||||
<Columns>
|
||||
<asp:BoundField DataField="CodMag" HeaderText="CodMag" ReadOnly="True"
|
||||
SortExpression="CodMag" />
|
||||
<asp:BoundField DataField="CodCS" HeaderText="CodCS" SortExpression="CodCS" />
|
||||
<asp:BoundField DataField="DescrMag" HeaderText="DescrMag"
|
||||
SortExpression="DescrMag" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" DeleteMethod="Delete"
|
||||
InsertMethod="Insert" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getByCodCS"
|
||||
TypeName="GMW_data.DS_magazzinoTableAdapters.AnagMagTableAdapter"
|
||||
UpdateMethod="Update">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="txtCodCs" DefaultValue="*" Name="CodCS" />
|
||||
</SelectParameters>
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_CodMag" Type="String" />
|
||||
<asp:Parameter Name="Original_CodCS" Type="String" />
|
||||
<asp:Parameter Name="Original_DescrMag" Type="String" />
|
||||
</DeleteParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="CodCS" Type="String" />
|
||||
<asp:Parameter Name="DescrMag" Type="String" />
|
||||
<asp:Parameter Name="Original_CodMag" Type="String" />
|
||||
<asp:Parameter Name="Original_CodCS" Type="String" />
|
||||
<asp:Parameter Name="Original_DescrMag" Type="String" />
|
||||
</UpdateParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="CodMag" Type="String" />
|
||||
<asp:Parameter Name="CodCS" Type="String" />
|
||||
<asp:Parameter Name="DescrMag" Type="String" />
|
||||
</InsertParameters>
|
||||
</asp:ObjectDataSource>
|
||||
|
||||
|
||||
|
||||
<uc1:mod_barPlot ID="mod_barPlot1" runat="server" />
|
||||
|
||||
|
||||
|
||||
</asp:Content>
|
||||
|
||||
@@ -11,7 +11,13 @@ namespace GMW
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
GMW.Type.DatoBarPlot[] elenco = new GMW.Type.DatoBarPlot[3];
|
||||
// carico dati demo...
|
||||
elenco[0] = new GMW.Type.DatoBarPlot("50", 50, "sv", "...");
|
||||
elenco[1] = new GMW.Type.DatoBarPlot("10", 10, "sg", "...");
|
||||
elenco[2] = new GMW.Type.DatoBarPlot("5", 5, "sr", "...");
|
||||
|
||||
mod_barPlot1.elencoValori = elenco;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,39 +14,12 @@ namespace GMW {
|
||||
public partial class Test {
|
||||
|
||||
/// <summary>
|
||||
/// Label1 control.
|
||||
/// mod_barPlot1 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.Label Label1;
|
||||
|
||||
/// <summary>
|
||||
/// txtCodCs 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 txtCodCs;
|
||||
|
||||
/// <summary>
|
||||
/// GridView1 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.GridView GridView1;
|
||||
|
||||
/// <summary>
|
||||
/// ods 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.ObjectDataSource ods;
|
||||
protected global::GMW.WebUserControls.mod_barPlot mod_barPlot1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace GMW.Type
|
||||
{
|
||||
public class DatoBarPlot
|
||||
{
|
||||
public DatoBarPlot(string _label, int _valore, string _css, string _tooltip)
|
||||
{
|
||||
label = _label;
|
||||
valore = _valore;
|
||||
css = _css;
|
||||
tooltip = _tooltip;
|
||||
}
|
||||
public string label { get; set; }
|
||||
public int valore { get; set; }
|
||||
public string css { get; set; }
|
||||
public string tooltip{ get; set; }
|
||||
}
|
||||
}
|
||||
@@ -270,7 +270,7 @@ namespace GMW.Type
|
||||
{
|
||||
obj = new Cartellino(tabArt2Imp[i]);
|
||||
_elencoCartellini[i] = obj;
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Elenco cartellini
|
||||
@@ -352,5 +352,6 @@ namespace GMW.Type
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<%@ WebService Language="C#" CodeBehind="WS_proxy.asmx.cs" Class="GMW.WS_proxy" %>
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.Services;
|
||||
|
||||
namespace GMW
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for WS_proxy
|
||||
/// </summary>
|
||||
[WebService(Namespace = "http://tempuri.org/")]
|
||||
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
|
||||
[System.ComponentModel.ToolboxItem(false)]
|
||||
public class WS_proxy : System.Web.Services.WebService
|
||||
{
|
||||
|
||||
[WebMethod]
|
||||
public string HelloWorld()
|
||||
{
|
||||
return "Hello World";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<?xml version="1.0"?><configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
@@ -19,8 +18,10 @@
|
||||
<globalization uiCulture="auto" enableClientBasedCulture="true"/>
|
||||
<pages>
|
||||
<controls>
|
||||
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting"
|
||||
assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
||||
</controls>
|
||||
</pages>
|
||||
<!--
|
||||
@@ -39,123 +40,100 @@
|
||||
<add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
|
||||
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
||||
</assemblies>
|
||||
|
||||
<add assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>
|
||||
</compilation>
|
||||
<httpHandlers>
|
||||
<remove verb="*" path="*.asmx"/>
|
||||
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
|
||||
<remove path="*.asmx" verb="*" />
|
||||
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
||||
validate="false" />
|
||||
<add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
||||
validate="false" />
|
||||
<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
|
||||
validate="false" />
|
||||
<add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
validate="false" />
|
||||
</httpHandlers>
|
||||
<httpModules>
|
||||
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
</httpModules>
|
||||
</system.web>
|
||||
<system.web.extensions>
|
||||
<scripting>
|
||||
<webServices>
|
||||
<!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
|
||||
<!--
|
||||
<jsonSerialization maxJsonLength="500">
|
||||
<converters>
|
||||
<add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
|
||||
</converters>
|
||||
</jsonSerialization>
|
||||
-->
|
||||
<!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
|
||||
<!--
|
||||
<authenticationService enabled="true" requireSSL = "true|false"/>
|
||||
-->
|
||||
<!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
|
||||
and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
|
||||
writeAccessProperties attributes. -->
|
||||
<!--
|
||||
<profileService enabled="true"
|
||||
readAccessProperties="propertyname1,propertyname2"
|
||||
writeAccessProperties="propertyname1,propertyname2" />
|
||||
-->
|
||||
</webServices>
|
||||
<!--
|
||||
<scriptResourceHandler enableCompression="true" enableCaching="true" />
|
||||
-->
|
||||
</scripting>
|
||||
</system.web.extensions>
|
||||
<appSettings>
|
||||
<!--Setup applicazione-->
|
||||
<add key="CodModulo" value="GMW" />
|
||||
<add key="_titoloPagina" value="GMW - Fonderie Mazzucconi S.p.A, portale Gestione Magazzino Web" />
|
||||
<add key="titleApp" value="GMW_titleApp" />
|
||||
<add key="welcomeApp" value="GMW_welcomeApp" />
|
||||
<add key="appName" value="GMW"/>
|
||||
<add key="mainRev" value="1.0"/>
|
||||
<add key="minRev" value="70"/>
|
||||
<add key="copyRight" value="SteamWare © 2010"/>
|
||||
<add key="_allowForceUser" value="true" />
|
||||
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx"/>
|
||||
<add key="_commonPages" value="menu.aspx#chLang.aspx" />
|
||||
<add key="defaultApp" value="GMW_Appl" />
|
||||
<add key="defaultTitle" value="GMW_ShortWelcome" />
|
||||
<add key="defaultBody" value="GMW_LongWelcome" />
|
||||
<add key="_logDir" value="~/logs/"/>
|
||||
<add key="_logLevel" value="6"/>
|
||||
<add key="_logMaxMb" value="30"/>
|
||||
<add key="intUpdatePagina_ms" value="120000" />
|
||||
<add key="_righeDataGrid" value="30" />
|
||||
<add key="_righeDataGridLong" value="40" />
|
||||
<add key="_righeDataGridMed" value="20" />
|
||||
<add key="_righeDataGridShort" value="10" />
|
||||
<add key="_fromEmail" value="GMW@steamware.net" />
|
||||
<add key="urlWebServer" value="http://localhost/GMW/" />
|
||||
<!--Default values vari-->
|
||||
<add key="Max_X" value="850"/>
|
||||
<add key="Max_Y" value="900"/>
|
||||
<add key="Max_Z" value="1300"/>
|
||||
<add key="Max_Kg" value="1000"/>
|
||||
<add key="NumX" value="10"/>
|
||||
<add key="NumY" value="5"/>
|
||||
<add key="NumZ" value="1"/>
|
||||
|
||||
<!--Setup stampa-->
|
||||
<!--<add key="printerCartTara" value="Brother HL-4050CDN"/>-->
|
||||
<add key="printerCartTara" value="\\Vostro410\PDFCreator"/>
|
||||
<add key="PageWidthCartTara" value="21cm"/>
|
||||
<add key="PageHeightCartTara" value="14.8cm"/>
|
||||
<add key="MarginTara" value="0.5cm"/>
|
||||
<add key="printerCartCompleto" value="\\Vostro410\PDFCreator"/>
|
||||
<add key="PageWidthCartCompleto" value="21cm"/>
|
||||
<add key="PageHeightCartCompleto" value="14.8cm"/>
|
||||
<add key="MarginCompleto" value="0.5cm"/>
|
||||
<add key="ReportDatasource" value="GMWDataSet_stp_prtCartByUDC"/>
|
||||
<!--Setup installazione-->
|
||||
<add key="passkey" value="pi=314"/>
|
||||
<add key="CodCS" value="MA"/>
|
||||
<add key="MinutiFinestraEditUDC" value="10"/>
|
||||
<add key="_adminEmail" value="samuele@steamware.net" />
|
||||
<add key="_logDir" value="~/logs/" />
|
||||
<add key="_smtpCli" value="keyhammer.ath.cx" />
|
||||
<add key="GMWConnectionString" value="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
|
||||
<add key="PermessiConnectionString" value="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="VocabolarioConnectionString" value="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="CodModulo" value="GMW" />
|
||||
<add key="_titoloPagina" value="GMW - Fonderie Mazzucconi S.p.A, portale Gestione Magazzino Web" />
|
||||
<add key="titleApp" value="GMW_titleApp" />
|
||||
<add key="welcomeApp" value="GMW_welcomeApp" />
|
||||
<add key="appName" value="GMW" />
|
||||
<add key="mainRev" value="1.0" />
|
||||
<add key="minRev" value="70" />
|
||||
<add key="copyRight" value="SteamWare © 2010" />
|
||||
<add key="_allowForceUser" value="true" />
|
||||
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
|
||||
<add key="_commonPages" value="menu.aspx#chLang.aspx" />
|
||||
<add key="defaultApp" value="GMW_Appl" />
|
||||
<add key="defaultTitle" value="GMW_ShortWelcome" />
|
||||
<add key="defaultBody" value="GMW_LongWelcome" />
|
||||
<add key="_logLevel" value="6" />
|
||||
<add key="_logMaxMb" value="30" />
|
||||
<add key="intUpdatePagina_ms" value="120000" />
|
||||
<add key="_righeDataGrid" value="30" />
|
||||
<add key="_righeDataGridLong" value="40" />
|
||||
<add key="_righeDataGridMed" value="20" />
|
||||
<add key="_righeDataGridShort" value="10" />
|
||||
<add key="_fromEmail" value="GMW@steamware.net" />
|
||||
<add key="urlWebServer" value="http://localhost/GMW/" />
|
||||
<add key="Max_X" value="850" />
|
||||
<add key="Max_Y" value="900" />
|
||||
<add key="Max_Z" value="1300" />
|
||||
<add key="Max_Kg" value="1000" />
|
||||
<add key="NumX" value="10" />
|
||||
<add key="NumY" value="5" />
|
||||
<add key="NumZ" value="1" />
|
||||
<add key="printerCartTara" value="\\Vostro410\PDFCreator" />
|
||||
<add key="PageWidthCartTara" value="21cm" />
|
||||
<add key="PageHeightCartTara" value="14.8cm" />
|
||||
<add key="MarginTara" value="0.5cm" />
|
||||
<add key="printerCartCompleto" value="\\Vostro410\PDFCreator" />
|
||||
<add key="PageWidthCartCompleto" value="21cm" />
|
||||
<add key="PageHeightCartCompleto" value="14.8cm" />
|
||||
<add key="MarginCompleto" value="0.5cm" />
|
||||
<add key="ReportDatasource" value="GMWDataSet_stp_prtCartByUDC" />
|
||||
<add key="passkey" value="pi=314" />
|
||||
<add key="CodCS" value="MA" />
|
||||
<add key="MinutiFinestraEditUDC" value="10" />
|
||||
<add key="_adminEmail" value="samuele@steamware.net" />
|
||||
<add key="_logDir" value="~/logs/" />
|
||||
<add key="_smtpCli" value="keyhammer.ath.cx" />
|
||||
<add key="GMWConnectionString" value="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="PermessiConnectionString" value="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="VocabolarioConnectionString" value="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
</connectionStrings>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false"/>
|
||||
<modules>
|
||||
<remove name="ScriptModule"/>
|
||||
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
</modules>
|
||||
<handlers>
|
||||
<remove name="ScriptHandlerFactory"/>
|
||||
<remove name="ScriptHandlerFactoryAppServices"/>
|
||||
<remove name="ScriptResource"/>
|
||||
<remove name="WebServiceHandlerFactory-Integrated"/>
|
||||
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
</handlers>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
<modules>
|
||||
<remove name="ScriptModule" />
|
||||
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
</modules>
|
||||
<handlers>
|
||||
<remove name="ScriptHandlerFactory" />
|
||||
<remove name="ScriptHandlerFactoryAppServices" />
|
||||
<remove name="ScriptResource" />
|
||||
<remove name="WebServiceHandlerFactory-Integrated" />
|
||||
<remove name="ChartImageHandler" />
|
||||
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
|
||||
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd"
|
||||
preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD"
|
||||
path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD"
|
||||
path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
<system.codedom>
|
||||
<compilers>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_barPlot.ascx.cs" Inherits="GMW.WebUserControls.mod_barPlot" %>
|
||||
<asp:Table runat="server" ID ="tblData" CellPadding="0" CellSpacing="0">
|
||||
</asp:Table>
|
||||
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GMW.WebUserControls
|
||||
{
|
||||
public partial class mod_barPlot : System.Web.UI.UserControl
|
||||
{
|
||||
protected GMW.Type.DatoBarPlot[] _elencoValori;
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
//doPlot();
|
||||
}
|
||||
|
||||
public GMW.Type.DatoBarPlot[] elencoValori
|
||||
{
|
||||
get
|
||||
{
|
||||
return _elencoValori;
|
||||
}
|
||||
set
|
||||
{
|
||||
_elencoValori = value;
|
||||
doPlot();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// esegue plotting, creando tante celle quanti i valori dell'array passato
|
||||
/// </summary>
|
||||
private void doPlot()
|
||||
{
|
||||
try
|
||||
{
|
||||
TableRow riga = new TableRow();
|
||||
TableCell cell;
|
||||
for (int i = 0; i < _elencoValori.Length; i++)
|
||||
{
|
||||
// solo se >0 aggiungo cella...
|
||||
if (_elencoValori[i].valore > 0)
|
||||
{
|
||||
cell = new TableCell();
|
||||
cell.CssClass = _elencoValori[i].css;
|
||||
cell.Text = _elencoValori[i].label;
|
||||
cell.Width = _elencoValori[i].valore;
|
||||
cell.ToolTip = _elencoValori[i].tooltip;
|
||||
riga.Cells.Add(cell);
|
||||
}
|
||||
}
|
||||
tblData.Rows.Add(riga);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_barPlot {
|
||||
|
||||
/// <summary>
|
||||
/// tblData 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.Table tblData;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_statoMag.ascx.cs"
|
||||
Inherits="GMW.WebUserControls.mod_statoMag" %>
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
||||
<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %>
|
||||
<%@ Register Src="mod_barPlot.ascx" TagName="mod_barPlot" TagPrefix="uc2" %>
|
||||
<div class="filtro_1">
|
||||
<uc1:mod_filtro ID="mod_filtroMag" runat="server" />
|
||||
<asp:ObjectDataSource ID="odsFiltroMag" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getByConditio" TypeName="GMW_data.DS_UtilityTableAdapters.v_selMagTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="MM" Name="conditio" SessionField="CodCS" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
|
||||
OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grView_DataBound"
|
||||
DataKeyNames="IdxBlocco" DataSourceID="ods" OnPageIndexChanged="grView_PageIndexChanged"
|
||||
OnSorted="grView_Sorted">
|
||||
<RowStyle CssClass="ctrRowStyle" />
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
|
||||
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyle" />
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click"
|
||||
Visible="false" />
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
|
||||
ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DescMag" SortExpression="DescMag">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblDescMag" runat="server" Text='<%# Eval("DescMag") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="CodBlocco" SortExpression="CodBlocco">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblCodBlocco" runat="server" Text='<%# Eval("CodBlocco") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="CelleTotAtt" SortExpression="TotCelle">
|
||||
<ItemTemplate>
|
||||
<uc2:mod_barPlot ID="mod_barPlot1" runat="server" elencoValori='<%# getElencoValori("numCelle", Eval("TotCelle"), Eval("CelleAttive")) %>' />
|
||||
<div class="didascalia">
|
||||
<asp:Label ID="lblTotCelle" runat="server" Text='<%# Eval("TotCelle") %>' ToolTip='<%# traduci("TotCelle") %>' />
|
||||
/
|
||||
<asp:Label ID="lblCelleAttive" runat="server" Text='<%# Eval("CelleAttive") %>' ToolTip='<%# traduci("CelleAttive") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="CelleLibereOccupate" SortExpression="CelleLibere">
|
||||
<ItemTemplate>
|
||||
<uc2:mod_barPlot ID="mod_barPlot2" runat="server" elencoValori='<%# getElencoValori("celleOccupate", Eval("CelleAttive"), Eval("CelleOccupate")) %>' />
|
||||
<div class="didascalia">
|
||||
<asp:Label ID="lblCelleOccupate" runat="server" Text='<%# Eval("CelleOccupate") %>'
|
||||
ToolTip='<%# traduci("CelleOccupate") %>' />
|
||||
/
|
||||
<asp:Label ID="lblCelleLibere" runat="server" Text='<%# Eval("CelleLibere") %>' ToolTip='<%# traduci("CelleLibere") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DateRange" SortExpression="Oldest">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblOldest" runat="server" Text='<%# Eval("Oldest","{0:dd/MM/yyyy}") %>' />
|
||||
-->
|
||||
<asp:Label ID="lblNewest" runat="server" Text='<%# Eval("Newest","{0:dd/MM/yyyy}") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getByCodCS" TypeName="GMW_data.DS_magazzinoTableAdapters.V_MagazziniOverviewTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter Name="CodCS" Type="String" SessionField="CodCS" DefaultValue="MM" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
<asp:ObjectDataSource ID="odsBlocco" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getByConditio" TypeName="GMW_data.DS_UtilityTableAdapters.v_selBloccoTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter Name="CodCS" Type="String" SessionField="CodCS" DefaultValue="MM" />
|
||||
<asp:SessionParameter Name="CodMag" Type="String" SessionField="CodMag_sel" DefaultValue="MM" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsTipoCella" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getByConditio" TypeName="GMW_data.DS_UtilityTableAdapters.v_selTipoCellaTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter Name="CodMag" Type="String" SessionField="CodMag_sel" DefaultValue="MM" />
|
||||
<asp:SessionParameter Name="CodCS" Type="String" SessionField="CodCS" DefaultValue="MM" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
@@ -0,0 +1,263 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
using GMW_data;
|
||||
|
||||
namespace GMW.WebUserControls
|
||||
{
|
||||
public partial class mod_statoMag : SteamWare.ApplicationUserControl
|
||||
{
|
||||
#region area da NON modificare
|
||||
|
||||
#region area protected
|
||||
|
||||
protected string _idxGridView;
|
||||
protected string _idxGridViewExt;
|
||||
protected string _tabCache;
|
||||
|
||||
/// <summary>
|
||||
/// aggiorna controlli datagrid e numero righe in pagina
|
||||
/// </summary>
|
||||
protected override void aggiornaControlliDataGL()
|
||||
{
|
||||
base.aggiornaControlliDataGL();
|
||||
grView.PageSize = _righeDataGridMed;
|
||||
}
|
||||
/// <summary>
|
||||
/// traduce gli header delle colonne
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void grView_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
if (grView.Rows.Count > 0)
|
||||
{
|
||||
LinkButton lb;
|
||||
// aggiorno gli headers
|
||||
foreach (TableCell cella in grView.HeaderRow.Cells)
|
||||
{
|
||||
try
|
||||
{
|
||||
lb = (LinkButton)cella.Controls[0];
|
||||
lb.Text = traduci(lb.Text);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
|
||||
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblNumRec.Text = "";
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// reset della selezione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
resetSelezione();
|
||||
}
|
||||
/// <summary>
|
||||
/// gestione cambio selezione valore
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
// salvo in session il valore selezionato...
|
||||
SteamWare.memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, true);
|
||||
// sollevo evento nuovo valore...
|
||||
if (eh_selValore != null)
|
||||
{
|
||||
eh_selValore(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// resetta la selezione dei valori in caso di modifiche su altri controlli
|
||||
/// </summary>
|
||||
public void resetSelezione()
|
||||
{
|
||||
SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView));
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
lblWarning.Visible = false;
|
||||
if (eh_resetSelezione != null)
|
||||
{
|
||||
eh_resetSelezione(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// collega i controlli
|
||||
/// </summary>
|
||||
protected override void bindControlli()
|
||||
{
|
||||
base.bindControlli();
|
||||
caricaTabelle();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region gestione eventi
|
||||
|
||||
public event EventHandler eh_resetSelezione;
|
||||
public event EventHandler eh_nuovoValore;
|
||||
public event EventHandler eh_selValore;
|
||||
|
||||
#endregion
|
||||
|
||||
#region public
|
||||
|
||||
/// <summary>
|
||||
/// effettua update del modulo
|
||||
/// </summary>
|
||||
public void doUpdate()
|
||||
{
|
||||
resetSelezione();
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
#region area codice variabile
|
||||
|
||||
|
||||
protected int maxNumCelle = 1000;
|
||||
|
||||
/// <summary>
|
||||
/// carico le tabelle
|
||||
/// </summary>
|
||||
private void caricaTabelle()
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// elenco colonne del datagrid
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
protected DataColumnCollection colonneObj()
|
||||
{
|
||||
DS_magazzino.V_MagazziniOverviewDataTable tabella = new DS_magazzino.V_MagazziniOverviewDataTable();
|
||||
DataColumnCollection colonne = tabella.Columns;
|
||||
return colonne;
|
||||
}
|
||||
/// <summary>
|
||||
/// inizializzazione valori di default
|
||||
/// </summary>
|
||||
/// <param name="e"></param>
|
||||
protected override void OnInit(EventArgs e)
|
||||
{
|
||||
base.OnInit(e);
|
||||
_idxGridView = "IdxBlocco";
|
||||
mod_filtroMag.eh_selValore += new EventHandler(mod_filtroMag_eh_selValore);
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
mod_filtroMag.ods = odsFiltroMag;
|
||||
// imposto corretto valore x filtro Mag
|
||||
if (memLayer.ML.isInSessionObject("CodMag_sel"))
|
||||
{
|
||||
mod_filtroMag.valore = memLayer.ML.StringSessionObj("CodMag_sel");
|
||||
}
|
||||
checkFixOds();
|
||||
}
|
||||
}
|
||||
|
||||
void mod_filtroMag_eh_selValore(object sender, EventArgs e)
|
||||
{
|
||||
// chiamo procedura che aggiorna ods principale
|
||||
checkFixOds();
|
||||
}
|
||||
/// <summary>
|
||||
/// segnalo nuovo valore filtro attivo...
|
||||
/// </summary>
|
||||
private void checkFixOds()
|
||||
{
|
||||
// determino cosa filtrare nella filter expression...
|
||||
if (mod_filtroMag.valore != "*")
|
||||
{
|
||||
ods.FilterExpression = string.Format(" CodMag = '{0}' ", mod_filtroMag.valore);
|
||||
// salvo il valore del numero di celle max x poter scalare correttamente i barplot
|
||||
try
|
||||
{
|
||||
maxNumCelle = MagClass.magazzino.taMagOverw.getMaxCelleByMag(memLayer.ML.StringSessionObj("CodCS"), mod_filtroMag.valore)[0].TotCelle;
|
||||
}
|
||||
catch
|
||||
{
|
||||
maxNumCelle = 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ods.FilterExpression = "";
|
||||
// salvo il valore del numero di celle max x poter scalare correttamente i barplot
|
||||
try
|
||||
{
|
||||
maxNumCelle = MagClass.magazzino.taMagOverw.getMaxCelle(memLayer.ML.StringSessionObj("CodCS"))[0].TotCelle;
|
||||
}
|
||||
catch
|
||||
{
|
||||
maxNumCelle = 1;
|
||||
}
|
||||
}
|
||||
grView.DataBind();
|
||||
}
|
||||
/// <summary>
|
||||
/// aggiorno visualizzazione
|
||||
/// </summary>
|
||||
private void updateOdsDaFiltro()
|
||||
{
|
||||
grView.DataBind();
|
||||
}
|
||||
/// <summary>
|
||||
/// chiamata post page change gridview
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void grView_PageIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
// sistemazione dell'ods post evento cambio pagina
|
||||
checkFixOds();
|
||||
}
|
||||
/// <summary>
|
||||
/// chiamata post sort gridview
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void grView_Sorted(object sender, EventArgs e)
|
||||
{
|
||||
// sistemazione dell'ods post evento sort
|
||||
checkFixOds();
|
||||
}
|
||||
|
||||
public GMW.Type.DatoBarPlot[] getElencoValori(object tipoPlot, object _valTot, object _valQuota)
|
||||
{
|
||||
GMW.Type.DatoBarPlot[] elenco = new GMW.Type.DatoBarPlot[2];
|
||||
if (tipoPlot.ToString() == "numCelle")
|
||||
{
|
||||
// carico dati dimensione magazzino e celle attive...
|
||||
int celleAttive = Convert.ToInt32(_valQuota);
|
||||
int celleBloccate = Convert.ToInt32(_valTot) - celleAttive;
|
||||
elenco[0] = new GMW.Type.DatoBarPlot(celleAttive.ToString(), Convert.ToInt32(Math.Round((double)celleAttive / maxNumCelle * 100, 0)), "sg", "celle attive");
|
||||
elenco[1] = new GMW.Type.DatoBarPlot(celleBloccate.ToString(), Convert.ToInt32(Math.Round((double)celleBloccate / maxNumCelle * 100, 0)), "ss", "celle bloccate");
|
||||
}
|
||||
else
|
||||
{
|
||||
// carico dati celle libere/occupate...
|
||||
int celleOccupate = Convert.ToInt32(_valQuota);
|
||||
int celelLibere = Convert.ToInt32(_valTot) - celleOccupate;
|
||||
elenco[0] = new GMW.Type.DatoBarPlot(celleOccupate.ToString(), Convert.ToInt32(Math.Round((double)celleOccupate / maxNumCelle * 100, 0)), "sr", "celle occupate");
|
||||
elenco[1] = new GMW.Type.DatoBarPlot(celelLibere.ToString(), Convert.ToInt32(Math.Round((double)celelLibere / maxNumCelle * 100, 0)), "sv", "celle libere");
|
||||
}
|
||||
return elenco;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GMW.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_statoMag {
|
||||
|
||||
/// <summary>
|
||||
/// mod_filtroMag control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_filtro mod_filtroMag;
|
||||
|
||||
/// <summary>
|
||||
/// odsFiltroMag 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.ObjectDataSource odsFiltroMag;
|
||||
|
||||
/// <summary>
|
||||
/// grView 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.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods 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.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// lblNumRec 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.Label lblNumRec;
|
||||
|
||||
/// <summary>
|
||||
/// lblWarning 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.Label lblWarning;
|
||||
|
||||
/// <summary>
|
||||
/// odsBlocco 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.ObjectDataSource odsBlocco;
|
||||
|
||||
/// <summary>
|
||||
/// odsTipoCella 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.ObjectDataSource odsTipoCella;
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 1010 B |
|
After Width: | Height: | Size: 287 B |
|
After Width: | Height: | Size: 1010 B |
|
After Width: | Height: | Size: 370 B |
|
After Width: | Height: | Size: 1011 B |
|
After Width: | Height: | Size: 311 B |
|
After Width: | Height: | Size: 1010 B |
|
After Width: | Height: | Size: 282 B |
@@ -1,39 +1,7 @@
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\GMW.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\GMW.pdb
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\AjaxControlToolkit.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\GMW_data.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\SteamWare.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\System.Web.Ajax.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\ICSharpCode.SharpZipLib.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\System.Web.Ajax.pdb
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\AjaxControlToolkit.pdb
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\GMW_data.pdb
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\SteamWare.pdb
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\SteamWare.xml
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\ar\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\cs\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\de\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\es\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\fr\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\he\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\hi\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\it\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\ja\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\ko\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\nl\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\pt\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\ru\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\tr-TR\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\zh-CHS\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\zh-CHT\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\ResolveAssemblyReference.cache
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\RdlCompile.cache
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\RdlCompile.compiled
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.pdb
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\ResolveAssemblyReference.cache
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\RdlCompile.cache
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\RdlCompile.compiled
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.pdb
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\GMW.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\GMW.pdb
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\AjaxControlToolkit.dll
|
||||
@@ -63,4 +31,3 @@ c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\zh-CHS\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\zh-CHT\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.pdb
|
||||
|
||||
@@ -1086,6 +1086,67 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="V_MagazziniOverviewTableAdapter" GeneratorDataComponentClassName="V_MagazziniOverviewTableAdapter" Name="V_MagazziniOverview" UserDataComponentName="V_MagazziniOverviewTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.V_MagazziniOverview" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT CodCS, CodMag, DescMag, IdxBlocco, CodBlocco, TotCelle, CelleAttive, CelleOccupate, CelleLibere, Oldest, Newest FROM dbo.V_MagazziniOverview</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="CodCS" DataSetColumn="CodCS" />
|
||||
<Mapping SourceColumn="CodMag" DataSetColumn="CodMag" />
|
||||
<Mapping SourceColumn="DescMag" DataSetColumn="DescMag" />
|
||||
<Mapping SourceColumn="IdxBlocco" DataSetColumn="IdxBlocco" />
|
||||
<Mapping SourceColumn="CodBlocco" DataSetColumn="CodBlocco" />
|
||||
<Mapping SourceColumn="TotCelle" DataSetColumn="TotCelle" />
|
||||
<Mapping SourceColumn="CelleAttive" DataSetColumn="CelleAttive" />
|
||||
<Mapping SourceColumn="CelleOccupate" DataSetColumn="CelleOccupate" />
|
||||
<Mapping SourceColumn="CelleLibere" DataSetColumn="CelleLibere" />
|
||||
<Mapping SourceColumn="Oldest" DataSetColumn="Oldest" />
|
||||
<Mapping SourceColumn="Newest" DataSetColumn="Newest" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_magazzinoOverview" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodCS" GetMethodModifier="Public" GetMethodName="getByCodCS" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodCS" UserSourceName="getByCodCS">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_magazzinoOverview</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_magazzinoOverview_maxCelle" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getMaxCelle" GetMethodModifier="Public" GetMethodName="getMaxCelle" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getMaxCelle" UserSourceName="getMaxCelle">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_magazzinoOverview_maxCelle</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_magazzinoOverviewByMag_maxCelle" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getMaxCelleByMag" GetMethodModifier="Public" GetMethodName="getMaxCelleByMag" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getMaxCelleByMag" UserSourceName="getMaxCelleByMag">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_magazzinoOverviewByMag_maxCelle</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodMag" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -1510,7 +1571,7 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="V_ParticolariOverview" msprop:Generator_UserTableName="V_ParticolariOverview" msprop:Generator_RowDeletedName="V_ParticolariOverviewRowDeleted" msprop:Generator_TableClassName="V_ParticolariOverviewDataTable" msprop:Generator_RowChangedName="V_ParticolariOverviewRowChanged" msprop:Generator_RowClassName="V_ParticolariOverviewRow" msprop:Generator_RowChangingName="V_ParticolariOverviewRowChanging" msprop:Generator_RowEvArgName="V_ParticolariOverviewRowChangeEvent" msprop:Generator_RowEvHandlerName="V_ParticolariOverviewRowChangeEventHandler" msprop:Generator_TablePropName="V_ParticolariOverview" msprop:Generator_TableVarName="tableV_ParticolariOverview" msprop:Generator_RowDeletingName="V_ParticolariOverviewRowDeleting">
|
||||
<xs:element name="V_ParticolariOverview" msprop:Generator_UserTableName="V_ParticolariOverview" msprop:Generator_RowDeletedName="V_ParticolariOverviewRowDeleted" msprop:Generator_RowChangedName="V_ParticolariOverviewRowChanged" msprop:Generator_RowClassName="V_ParticolariOverviewRow" msprop:Generator_RowChangingName="V_ParticolariOverviewRowChanging" msprop:Generator_RowEvArgName="V_ParticolariOverviewRowChangeEvent" msprop:Generator_RowEvHandlerName="V_ParticolariOverviewRowChangeEventHandler" msprop:Generator_TableClassName="V_ParticolariOverviewDataTable" msprop:Generator_TableVarName="tableV_ParticolariOverview" msprop:Generator_RowDeletingName="V_ParticolariOverviewRowDeleting" msprop:Generator_TablePropName="V_ParticolariOverview">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Particolare" msprop:Generator_UserColumnName="Particolare" msprop:Generator_ColumnPropNameInRow="Particolare" msprop:Generator_ColumnVarNameInTable="columnParticolare" msprop:Generator_ColumnPropNameInTable="ParticolareColumn">
|
||||
@@ -1533,6 +1594,47 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="V_MagazziniOverview" msprop:Generator_UserTableName="V_MagazziniOverview" msprop:Generator_RowDeletedName="V_MagazziniOverviewRowDeleted" msprop:Generator_RowChangedName="V_MagazziniOverviewRowChanged" msprop:Generator_RowClassName="V_MagazziniOverviewRow" msprop:Generator_RowChangingName="V_MagazziniOverviewRowChanging" msprop:Generator_RowEvArgName="V_MagazziniOverviewRowChangeEvent" msprop:Generator_RowEvHandlerName="V_MagazziniOverviewRowChangeEventHandler" msprop:Generator_TableClassName="V_MagazziniOverviewDataTable" msprop:Generator_TableVarName="tableV_MagazziniOverview" msprop:Generator_RowDeletingName="V_MagazziniOverviewRowDeleting" msprop:Generator_TablePropName="V_MagazziniOverview">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="DescMag" msprop:Generator_UserColumnName="DescMag" msprop:Generator_ColumnVarNameInTable="columnDescMag" msprop:Generator_ColumnPropNameInRow="DescMag" msprop:Generator_ColumnPropNameInTable="DescMagColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="IdxBlocco" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" />
|
||||
<xs:element name="CodBlocco" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="3" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="TotCelle" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TotCelle" msprop:Generator_ColumnVarNameInTable="columnTotCelle" msprop:Generator_ColumnPropNameInRow="TotCelle" msprop:Generator_ColumnPropNameInTable="TotCelleColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="CelleAttive" msprop:Generator_UserColumnName="CelleAttive" msprop:Generator_ColumnVarNameInTable="columnCelleAttive" msprop:Generator_ColumnPropNameInRow="CelleAttive" msprop:Generator_ColumnPropNameInTable="CelleAttiveColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="CelleOccupate" msprop:Generator_UserColumnName="CelleOccupate" msprop:Generator_ColumnVarNameInTable="columnCelleOccupate" msprop:Generator_ColumnPropNameInRow="CelleOccupate" msprop:Generator_ColumnPropNameInTable="CelleOccupateColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="CelleLibere" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CelleLibere" msprop:Generator_ColumnVarNameInTable="columnCelleLibere" msprop:Generator_ColumnPropNameInRow="CelleLibere" msprop:Generator_ColumnPropNameInTable="CelleLibereColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="Oldest" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Oldest" msprop:Generator_ColumnVarNameInTable="columnOldest" msprop:Generator_ColumnPropNameInRow="Oldest" msprop:Generator_ColumnPropNameInTable="OldestColumn" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="Newest" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Newest" msprop:Generator_ColumnVarNameInTable="columnNewest" msprop:Generator_ColumnPropNameInRow="Newest" msprop:Generator_ColumnPropNameInTable="NewestColumn" type="xs:dateTime" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
@@ -1577,6 +1679,12 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
|
||||
<xs:selector xpath=".//mstns:V_ParticolariOverview" />
|
||||
<xs:field xpath="mstns:Particolare" />
|
||||
</xs:unique>
|
||||
<xs:unique name="V_MagazziniOverview_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:V_MagazziniOverview" />
|
||||
<xs:field xpath="mstns:CodCS" />
|
||||
<xs:field xpath="mstns:CodMag" />
|
||||
<xs:field xpath="mstns:IdxBlocco" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
|
||||
@@ -4,21 +4,22 @@
|
||||
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="-10" ViewPortY="31" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="189" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="16" X="68" Y="333" Height="419" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
|
||||
<Shape ID="DesignTable:AnagMag" ZOrder="15" X="1014" Y="372" Height="210" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="14" X="375" Y="565" Height="153" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="12" X="387" Y="322" Height="172" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Blocchi" ZOrder="5" X="1014" Y="652" Height="305" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Celle" ZOrder="4" X="722" Y="527" Height="343" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:TipoCella" ZOrder="7" X="1008" Y="-2" Height="324" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:v_UdcDetail" ZOrder="3" X="693" Y="9" Height="343" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagImballi" ZOrder="2" X="93" Y="43" Height="172" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="1" X="218" Y="775" Height="210" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="17" X="68" Y="333" Height="419" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
|
||||
<Shape ID="DesignTable:AnagMag" ZOrder="16" X="1014" Y="372" Height="210" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="15" X="375" Y="565" Height="153" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="13" X="387" Y="322" Height="172" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Blocchi" ZOrder="6" X="1014" Y="652" Height="305" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Celle" ZOrder="5" X="722" Y="527" Height="343" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:TipoCella" ZOrder="8" X="1008" Y="-2" Height="324" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:v_UdcDetail" ZOrder="4" X="693" Y="9" Height="343" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagImballi" ZOrder="3" X="93" Y="43" Height="172" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="2" X="38" Y="784" Height="210" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="1" X="379" Y="782" Height="343" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="13" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="14" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>302</X>
|
||||
@@ -30,7 +31,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcStorico_ElencoCartellini" ZOrder="11" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcStorico_ElencoCartellini" ZOrder="12" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>302</X>
|
||||
@@ -42,7 +43,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Blocchi_AnagMag" ZOrder="10" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Blocchi_AnagMag" ZOrder="11" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1116</X>
|
||||
@@ -54,7 +55,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_Celle" ZOrder="9" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_Celle" ZOrder="10" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>722</X>
|
||||
@@ -66,7 +67,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Celle_Blocchi1" ZOrder="8" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Celle_Blocchi1" ZOrder="9" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1014</X>
|
||||
@@ -78,7 +79,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TipoCella_AnagMag" ZOrder="6" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_TipoCella_AnagMag" ZOrder="7" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1107</X>
|
||||
|
||||
@@ -20,6 +20,7 @@ namespace GMW_data
|
||||
public DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter taCartellini;
|
||||
public DS_magazzinoTableAdapters.PosizioneUdcCorrenteTableAdapter taPosUdcCorr;
|
||||
public DS_magazzinoTableAdapters.PosizioneUdcStoricoTableAdapter taPosUdcStorico;
|
||||
public DS_magazzinoTableAdapters.V_MagazziniOverviewTableAdapter taMagOverw;
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -34,6 +35,7 @@ namespace GMW_data
|
||||
taCartellini = new GMW_data.DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter();
|
||||
taPosUdcCorr = new GMW_data.DS_magazzinoTableAdapters.PosizioneUdcCorrenteTableAdapter();
|
||||
taPosUdcStorico = new GMW_data.DS_magazzinoTableAdapters.PosizioneUdcStoricoTableAdapter();
|
||||
taMagOverw = new GMW_data.DS_magazzinoTableAdapters.V_MagazziniOverviewTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config delal singola applicazione
|
||||
@@ -48,6 +50,7 @@ namespace GMW_data
|
||||
taCartellini.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taPosUdcCorr.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taPosUdcStorico.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taMagOverw.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="GMW_data.Properties.Settings.GMWConnectionString"
|
||||
connectionString="Data Source=T110-WIN2008R2\SQL2008R2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer"
|
||||
providerName="System.Data.SqlClient" />
|
||||
connectionString="Data Source=T110-WIN2008R2\SQL2008R2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer"
|
||||
providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
</configuration>
|
||||