completata tuta la gestione toggle e salvataggi NC / UDC

This commit is contained in:
Samuele E. Locatelli
2015-06-26 11:12:19 +02:00
parent 69cbbcad96
commit fe7e8fb4c2
20 changed files with 289 additions and 71 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+11 -3
View File
@@ -34,7 +34,7 @@
<Columns>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server" />
<asp:CheckBox ID="chkSelect" runat="server" Checked='<%# Convert.ToBoolean(Eval("IsSelected")) %>' AutoPostBack="true" OnCheckedChanged="chkSelect_CheckedChanged" />
</ItemTemplate>
<HeaderTemplate>
<asp:CheckBox ID="btnSelAll" runat="server" Checked="false" ToolTip='<%# traduci("btnSelAll") %>'
@@ -42,14 +42,18 @@
</HeaderTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:BoundField DataField="UDC" HeaderText="UDC" ReadOnly="True" SortExpression="UDC" />
<asp:TemplateField HeaderText="UDC" SortExpression="UDC">
<ItemTemplate>
<asp:Label ID="lblUDC" runat="server" Text='<%# Bind("UDC") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="Particolare" HeaderText="Particolare" SortExpression="Particolare" />
<asp:BoundField DataField="DescParticolare" HeaderText="Descriz" SortExpression="DescParticolare" />
<asp:BoundField DataField="DataFus" HeaderText="Data" SortExpression="DataFus" />
<asp:BoundField DataField="Qta" HeaderText="Qta" SortExpression="Qta" />
<asp:BoundField DataField="CodStato" HeaderText="Stato" SortExpression="CodStato" />
<asp:BoundField DataField="DecodPosizione" HeaderText="Posizione" SortExpression="DecodPosizione" />
<asp:BoundField DataField="CodNC" HeaderText="NC ass." SortExpression="CodNC" />
<asp:BoundField DataField="NC" HeaderText="NC ass." SortExpression="NC" />
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
</Columns>
</asp:GridView>
@@ -64,9 +68,13 @@
<asp:SessionParameter Name="DataFrom" SessionField="_inizio" Type="DateTime" />
<asp:SessionParameter Name="DataTo" SessionField="_fine" Type="DateTime" />
<asp:SessionParameter Name="Note" SessionField="NoteNC" Type="String" />
<asp:SessionParameter Name="idxNc" SessionField="idxNcSel" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
<div class="col-xs-offset-4 col-xs-4">
<asp:LinkButton runat="server" ID="lbSaveSel" Visible="false" CssClass="btn btn-default" OnClick="lbSaveSel_Click"><i class="fa fa-check fa-2x"></i> <%: traduci("btnSaveSelUdc") %></asp:LinkButton>
</div>
</div>
a questo punto
<ul>
+32 -2
View File
@@ -65,11 +65,11 @@ namespace GMW.WebUserControls
{
get
{
return memLayer.ML.IntSessionObj("idxNcsel");
return memLayer.ML.IntSessionObj("idxNcSel");
}
set
{
memLayer.ML.setSessionVal("idxNcsel", value);
memLayer.ML.setSessionVal("idxNcSel", value);
}
}
void mod_selPeriodo_eh_doUpdate(object sender, EventArgs e)
@@ -118,6 +118,7 @@ namespace GMW.WebUserControls
{
((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked;
}
lbSaveSel.Visible = true;
}
/// <summary>
/// salva nuovo filtraggio
@@ -129,6 +130,29 @@ namespace GMW.WebUserControls
salvaFilt();
}
/// <summary>
/// salva nelenco selezioni UDC
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbSaveSel_Click(object sender, EventArgs e)
{
// ciclo grView e salvo le righe selezionate, e cancello le EVENTUALI deselezionate
DateTime start;
foreach (GridViewRow riga in grView.Rows)
{
if (((CheckBox)riga.FindControl("chkSelect")).Visible)
{
start = DateTime.Now;
// recupero codice UDC...
string UDC = ((Label)riga.FindControl("lblUDC")).Text;
// chiamo toggle selezione...
DataProxy.obj.taUDC2NC.toggleSel(idxNcSel, UDC, ((CheckBox)riga.FindControl("chkSelect")).Checked);
}
}
grView.DataBind();
lbSaveSel.Visible = false;
}
/// <summary>
/// salvo il nuovo filtraggio...
/// </summary>
private void salvaFilt()
@@ -143,5 +167,11 @@ namespace GMW.WebUserControls
NoteNC = txtSearch.Text.Trim();
lbSave.Visible = true;
}
protected void chkSelect_CheckedChanged(object sender, EventArgs e)
{
// mostro pulsante salvataggio...
lbSaveSel.Visible = true;
}
}
}
+9
View File
@@ -83,5 +83,14 @@ namespace GMW.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// lbSaveSel 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.LinkButton lbSaveSel;
}
}
+2 -2
View File
@@ -47,11 +47,11 @@ namespace GMW.WebUserControls
{
get
{
return memLayer.ML.IntSessionObj("idxNcsel");
return memLayer.ML.IntSessionObj("idxNcSel");
}
set
{
memLayer.ML.setSessionVal("idxNcsel", value);
memLayer.ML.setSessionVal("idxNcSel", value);
}
}
/// <summary>
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+178 -38
View File
@@ -9250,7 +9250,9 @@ namespace GMW_data {
private global::System.Data.DataColumn columnDecodPosizione;
private global::System.Data.DataColumn columnCodNC;
private global::System.Data.DataColumn columnNC;
private global::System.Data.DataColumn columnIsSelected;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
@@ -9351,9 +9353,17 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodNCColumn {
public global::System.Data.DataColumn NCColumn {
get {
return this.columnCodNC;
return this.columnNC;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn IsSelectedColumn {
get {
return this.columnIsSelected;
}
}
@@ -9394,7 +9404,7 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UDC_NCRow AddUDC_NCRow(string UDC, string Particolare, string DescParticolare, System.DateTime DataFus, decimal Qta, string CodStato, string Note, string DecodPosizione, string CodNC) {
public UDC_NCRow AddUDC_NCRow(string UDC, string Particolare, string DescParticolare, System.DateTime DataFus, decimal Qta, string CodStato, string Note, string DecodPosizione, string NC, int IsSelected) {
UDC_NCRow rowUDC_NCRow = ((UDC_NCRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
UDC,
@@ -9405,7 +9415,8 @@ namespace GMW_data {
CodStato,
Note,
DecodPosizione,
CodNC};
NC,
IsSelected};
rowUDC_NCRow.ItemArray = columnValuesArray;
this.Rows.Add(rowUDC_NCRow);
return rowUDC_NCRow;
@@ -9443,7 +9454,8 @@ namespace GMW_data {
this.columnCodStato = base.Columns["CodStato"];
this.columnNote = base.Columns["Note"];
this.columnDecodPosizione = base.Columns["DecodPosizione"];
this.columnCodNC = base.Columns["CodNC"];
this.columnNC = base.Columns["NC"];
this.columnIsSelected = base.Columns["IsSelected"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -9465,8 +9477,10 @@ namespace GMW_data {
base.Columns.Add(this.columnNote);
this.columnDecodPosizione = new global::System.Data.DataColumn("DecodPosizione", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDecodPosizione);
this.columnCodNC = new global::System.Data.DataColumn("CodNC", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodNC);
this.columnNC = new global::System.Data.DataColumn("NC", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNC);
this.columnIsSelected = new global::System.Data.DataColumn("IsSelected", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIsSelected);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnUDC}, true));
this.columnUDC.AllowDBNull = false;
@@ -9478,8 +9492,9 @@ namespace GMW_data {
this.columnNote.MaxLength = 500;
this.columnDecodPosizione.AllowDBNull = false;
this.columnDecodPosizione.MaxLength = 10;
this.columnCodNC.ReadOnly = true;
this.columnCodNC.MaxLength = 2500;
this.columnNC.ReadOnly = true;
this.columnNC.MaxLength = 2500;
this.columnIsSelected.ReadOnly = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -14693,17 +14708,33 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodNC {
public string NC {
get {
try {
return ((string)(this[this.tableUDC_NC.CodNCColumn]));
return ((string)(this[this.tableUDC_NC.NCColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodNC\' in table \'UDC_NC\' is DBNull.", e);
throw new global::System.Data.StrongTypingException("The value for column \'NC\' in table \'UDC_NC\' is DBNull.", e);
}
}
set {
this[this.tableUDC_NC.CodNCColumn] = value;
this[this.tableUDC_NC.NCColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int IsSelected {
get {
try {
return ((int)(this[this.tableUDC_NC.IsSelectedColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'IsSelected\' in table \'UDC_NC\' is DBNull.", e);
}
}
set {
this[this.tableUDC_NC.IsSelectedColumn] = value;
}
}
@@ -14781,14 +14812,26 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsCodNCNull() {
return this.IsNull(this.tableUDC_NC.CodNCColumn);
public bool IsNCNull() {
return this.IsNull(this.tableUDC_NC.NCColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetCodNCNull() {
this[this.tableUDC_NC.CodNCColumn] = global::System.Convert.DBNull;
public void SetNCNull() {
this[this.tableUDC_NC.NCColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsIsSelectedNull() {
return this.IsNull(this.tableUDC_NC.IsSelectedColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetIsSelectedNull() {
this[this.tableUDC_NC.IsSelectedColumn] = global::System.Convert.DBNull;
}
}
@@ -25608,7 +25651,7 @@ SELECT codPostazione, stampante, note, FormatoDtmx FROM ElencoPostazioni WHERE (
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[ElencoNC] WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz))";
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [ElencoNC] WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxNC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxNC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodNC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodNC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -25622,7 +25665,7 @@ SELECT codPostazione, stampante, note, FormatoDtmx FROM ElencoPostazioni WHERE (
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DtCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[ElencoNC] ([CodNC], [DescrNC], [TipoCart], [DataFrom], [DataTo], [SearchNote], [DtCreaz]) VALUES (@CodNC, @DescrNC, @TipoCart, @DataFrom, @DataTo, @SearchNote, @DtCreaz);
this._adapter.InsertCommand.CommandText = @"INSERT INTO [ElencoNC] ([CodNC], [DescrNC], [TipoCart], [DataFrom], [DataTo], [SearchNote], [DtCreaz]) VALUES (@CodNC, @DescrNC, @TipoCart, @DataFrom, @DataTo, @SearchNote, @DtCreaz);
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FROM ElencoNC WHERE (IdxNC = SCOPE_IDENTITY())";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodNC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodNC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -25634,7 +25677,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DtCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DtCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ElencoNC] SET [CodNC] = @CodNC, [DescrNC] = @DescrNC, [TipoCart] = @TipoCart, [DataFrom] = @DataFrom, [DataTo] = @DataTo, [SearchNote] = @SearchNote, [DtCreaz] = @DtCreaz WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz));
this._adapter.UpdateCommand.CommandText = @"UPDATE [ElencoNC] SET [CodNC] = @CodNC, [DescrNC] = @DescrNC, [TipoCart] = @TipoCart, [DataFrom] = @DataFrom, [DataTo] = @DataTo, [SearchNote] = @SearchNote, [DtCreaz] = @DtCreaz WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz));
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FROM ElencoNC WHERE (IdxNC = @IdxNC)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodNC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodNC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -25667,10 +25710,11 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[9];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.ElencoNC";
this._commandCollection[0].CommandText = "SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FRO" +
"M ElencoNC";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -25717,22 +25761,29 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxNC", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
this._commandCollection[6].CommandText = "dbo.stp_ENC_updFilt";
this._commandCollection[6].CommandText = "dbo.stp_ENC_updCompleta";
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoCart", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SearchNote", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxNC", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsCompl", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection;
this._commandCollection[7].CommandText = "dbo.stp_ENC_updNome";
this._commandCollection[7].CommandText = "dbo.stp_ENC_updFilt";
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodNC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrNC", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoCart", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SearchNote", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxNC", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection;
this._commandCollection[8].CommandText = "dbo.stp_ENC_updNome";
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodNC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrNC", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxNC", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -26236,8 +26287,42 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updFilt(string TipoCart, global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<global::System.DateTime> DataTo, string SearchNote, global::System.Nullable<int> Original_IdxNC) {
public virtual int updCompleta(global::System.Nullable<int> Original_IdxNC, global::System.Nullable<bool> IsCompl) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
if ((Original_IdxNC.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_IdxNC.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((IsCompl.HasValue == true)) {
command.Parameters[2].Value = ((bool)(IsCompl.Value));
}
else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updFilt(string TipoCart, global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<global::System.DateTime> DataTo, string SearchNote, global::System.Nullable<int> Original_IdxNC) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
if ((TipoCart == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -26289,7 +26374,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updNome(string CodNC, string DescrNC, global::System.Nullable<int> Original_IdxNC) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
if ((CodNC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -26455,7 +26540,8 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
tableMapping.ColumnMappings.Add("CodStato", "CodStato");
tableMapping.ColumnMappings.Add("Note", "Note");
tableMapping.ColumnMappings.Add("DecodPosizione", "DecodPosizione");
tableMapping.ColumnMappings.Add("CodNC", "CodNC");
tableMapping.ColumnMappings.Add("NC", "NC");
tableMapping.ColumnMappings.Add("IsSelected", "IsSelected");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -26469,11 +26555,10 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT UDC, Particolare, DescParticolare, DataFus, Qta, CodStato, Note, DecodPosi" +
"zione, CodNC FROM v_UDC_NC";
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_UDC_NC";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -26485,6 +26570,15 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxNC", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_ENC2U_toggle";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxNC", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsSel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -26515,7 +26609,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.UDC_NCDataTable getByFlussoDate(string CodCS, string Flusso, global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<global::System.DateTime> DataTo, string Note) {
public virtual DS_Applicazione.UDC_NCDataTable getByFlussoDate(string CodCS, string Flusso, global::System.Nullable<global::System.DateTime> DataFrom, global::System.Nullable<global::System.DateTime> DataTo, string Note, global::System.Nullable<int> IdxNC) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((CodCS == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
@@ -26547,10 +26641,56 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
else {
this.Adapter.SelectCommand.Parameters[5].Value = ((string)(Note));
}
if ((IdxNC.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[6].Value = ((int)(IdxNC.Value));
}
else {
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
}
DS_Applicazione.UDC_NCDataTable dataTable = new DS_Applicazione.UDC_NCDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int toggleSel(global::System.Nullable<int> IdxNC, string UDC, global::System.Nullable<bool> IsSel) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
if ((IdxNC.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxNC.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((UDC == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(UDC));
}
if ((IsSel.HasValue == true)) {
command.Parameters[3].Value = ((bool)(IsSel.Value));
}
else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
/// <summary>
+46 -18
View File
@@ -1814,7 +1814,7 @@ SELECT codPostazione, stampante, note, FormatoDtmx FROM ElencoPostazioni WHERE (
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.ElencoNC" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[ElencoNC] WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz))</CommandText>
<CommandText>DELETE FROM [ElencoNC] WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxNC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxNC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodNC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodNC" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -1831,7 +1831,7 @@ SELECT codPostazione, stampante, note, FormatoDtmx FROM ElencoPostazioni WHERE (
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[ElencoNC] ([CodNC], [DescrNC], [TipoCart], [DataFrom], [DataTo], [SearchNote], [DtCreaz]) VALUES (@CodNC, @DescrNC, @TipoCart, @DataFrom, @DataTo, @SearchNote, @DtCreaz);
<CommandText>INSERT INTO [ElencoNC] ([CodNC], [DescrNC], [TipoCart], [DataFrom], [DataTo], [SearchNote], [DtCreaz]) VALUES (@CodNC, @DescrNC, @TipoCart, @DataFrom, @DataTo, @SearchNote, @DtCreaz);
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FROM ElencoNC WHERE (IdxNC = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodNC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodNC" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1846,14 +1846,13 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM dbo.ElencoNC</CommandText>
<CommandText>SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FROM ElencoNC</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[ElencoNC] SET [CodNC] = @CodNC, [DescrNC] = @DescrNC, [TipoCart] = @TipoCart, [DataFrom] = @DataFrom, [DataTo] = @DataTo, [SearchNote] = @SearchNote, [DtCreaz] = @DtCreaz WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz));
<CommandText>UPDATE [ElencoNC] SET [CodNC] = @CodNC, [DescrNC] = @DescrNC, [TipoCart] = @TipoCart, [DataFrom] = @DataFrom, [DataTo] = @DataTo, [SearchNote] = @SearchNote, [DtCreaz] = @DtCreaz WHERE (([IdxNC] = @Original_IdxNC) AND ([CodNC] = @Original_CodNC) AND ([DescrNC] = @Original_DescrNC) AND ([TipoCart] = @Original_TipoCart) AND ((@IsNull_DataFrom = 1 AND [DataFrom] IS NULL) OR ([DataFrom] = @Original_DataFrom)) AND ((@IsNull_DataTo = 1 AND [DataTo] IS NULL) OR ([DataTo] = @Original_DataTo)) AND ([SearchNote] = @Original_SearchNote) AND ([DtCreaz] = @Original_DtCreaz));
SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FROM ElencoNC WHERE (IdxNC = @IdxNC)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodNC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodNC" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1958,6 +1957,18 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
</DbCommand>
</UpdateCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_ENC_updCompleta" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updCompleta" Modifier="Public" Name="updCompleta" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="updCompleta">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ENC_updCompleta</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="int" DbType="Int32" Direction="Input" ParameterName="@Original_IdxNC" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@IsCompl" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_ENC_updFilt" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updFilt" Modifier="Public" Name="updFilt" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updFilt">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -1990,10 +2001,11 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UDC_NCTableAdapter" GeneratorDataComponentClassName="UDC_NCTableAdapter" Name="UDC_NC" UserDataComponentName="UDC_NCTableAdapter">
<MainSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.v_UDC_NC" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.v_UDC_NC" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT UDC, Particolare, DescParticolare, DataFus, Qta, CodStato, Note, DecodPosizione, CodNC FROM v_UDC_NC</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_UDC_NC</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
@@ -2008,7 +2020,8 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
<Mapping SourceColumn="CodStato" DataSetColumn="CodStato" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
<Mapping SourceColumn="DecodPosizione" DataSetColumn="DecodPosizione" />
<Mapping SourceColumn="CodNC" DataSetColumn="CodNC" />
<Mapping SourceColumn="NC" DataSetColumn="NC" />
<Mapping SourceColumn="IsSelected" DataSetColumn="IsSelected" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_UDC_NC_getByFlussoDate" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByFlussoDate" GetMethodModifier="Public" GetMethodName="getByFlussoDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByFlussoDate" UserSourceName="getByFlussoDate">
@@ -2022,6 +2035,20 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataFrom" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataTo" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxNC" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_ENC2U_toggle" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="toggleSel" Modifier="Public" Name="toggleSel" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="toggleSel">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ENC2U_toggle</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="int" DbType="Int32" Direction="Input" ParameterName="@IdxNC" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UDC" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@IsSel" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
@@ -3199,7 +3226,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoNC" msprop:Generator_TableClassName="ElencoNCDataTable" msprop:Generator_TableVarName="tableElencoNC" msprop:Generator_RowChangedName="ElencoNCRowChanged" msprop:Generator_TablePropName="ElencoNC" msprop:Generator_RowDeletingName="ElencoNCRowDeleting" msprop:Generator_RowChangingName="ElencoNCRowChanging" msprop:Generator_RowEvHandlerName="ElencoNCRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoNCRowDeleted" msprop:Generator_RowClassName="ElencoNCRow" msprop:Generator_UserTableName="ElencoNC" msprop:Generator_RowEvArgName="ElencoNCRowChangeEvent">
<xs:element name="ElencoNC" msprop:Generator_TableClassName="ElencoNCDataTable" msprop:Generator_TableVarName="tableElencoNC" msprop:Generator_TablePropName="ElencoNC" msprop:Generator_RowDeletingName="ElencoNCRowDeleting" msprop:Generator_RowChangingName="ElencoNCRowChanging" msprop:Generator_RowEvHandlerName="ElencoNCRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoNCRowDeleted" msprop:Generator_UserTableName="ElencoNC" msprop:Generator_RowChangedName="ElencoNCRowChanged" msprop:Generator_RowEvArgName="ElencoNCRowChangeEvent" msprop:Generator_RowClassName="ElencoNCRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxNC" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxNC" msprop:Generator_ColumnPropNameInRow="IdxNC" msprop:Generator_ColumnPropNameInTable="IdxNCColumn" msprop:Generator_UserColumnName="IdxNC" type="xs:int" />
@@ -3237,7 +3264,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UDC_NC" msprop:Generator_TableClassName="UDC_NCDataTable" msprop:Generator_TableVarName="tableUDC_NC" msprop:Generator_TablePropName="UDC_NC" msprop:Generator_RowDeletingName="UDC_NCRowDeleting" msprop:Generator_RowChangingName="UDC_NCRowChanging" msprop:Generator_RowEvHandlerName="UDC_NCRowChangeEventHandler" msprop:Generator_RowDeletedName="UDC_NCRowDeleted" msprop:Generator_UserTableName="UDC_NC" msprop:Generator_RowChangedName="UDC_NCRowChanged" msprop:Generator_RowEvArgName="UDC_NCRowChangeEvent" msprop:Generator_RowClassName="UDC_NCRow">
<xs:element name="UDC_NC" msprop:Generator_TableClassName="UDC_NCDataTable" msprop:Generator_TableVarName="tableUDC_NC" msprop:Generator_RowChangedName="UDC_NCRowChanged" msprop:Generator_TablePropName="UDC_NC" msprop:Generator_RowDeletingName="UDC_NCRowDeleting" msprop:Generator_RowChangingName="UDC_NCRowChanging" msprop:Generator_RowEvHandlerName="UDC_NCRowChangeEventHandler" msprop:Generator_RowDeletedName="UDC_NCRowDeleted" msprop:Generator_RowClassName="UDC_NCRow" msprop:Generator_UserTableName="UDC_NC" msprop:Generator_RowEvArgName="UDC_NCRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn" msprop:Generator_UserColumnName="UDC">
@@ -3284,13 +3311,14 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodNC" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodNC" msprop:Generator_ColumnPropNameInRow="CodNC" msprop:Generator_ColumnPropNameInTable="CodNCColumn" msprop:Generator_UserColumnName="CodNC" minOccurs="0">
<xs:element name="NC" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNC" msprop:Generator_ColumnPropNameInRow="NC" msprop:Generator_ColumnPropNameInTable="NCColumn" msprop:Generator_UserColumnName="NC" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IsSelected" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnIsSelected" msprop:Generator_ColumnPropNameInRow="IsSelected" msprop:Generator_ColumnPropNameInTable="IsSelectedColumn" msprop:Generator_UserColumnName="IsSelected" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -3381,12 +3409,12 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz FR
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_AnagImpianti_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagImpianti" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagImpianti" msprop:Generator_ChildPropName="GetAnagImpiantiRows" msprop:Generator_UserRelationName="FK_AnagImpianti_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_AnagImpianti_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
<msdata:Relationship name="FK_ElencoCartellini_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="ElencoCartellini" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
<msdata:Relationship name="FK_ElencoCartellini_AnagStatiProdotto" msdata:parent="AnagStatiProdotto" msdata:child="ElencoCartellini" msdata:parentkey="CodStato" msdata:childkey="CodStato" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_ParentPropName="AnagStatiProdottoRow" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_UserParentTable="AnagStatiProdotto" />
<msdata:Relationship name="FK_AnagOperatori_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagOperatori" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagOperatori" msprop:Generator_ChildPropName="GetAnagOperatoriRows" msprop:Generator_UserRelationName="FK_AnagOperatori_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_AnagOperatori_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
<msdata:Relationship name="FK_AnagParticolari_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagParticolari" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagParticolari" msprop:Generator_ChildPropName="GetAnagParticolariRows" msprop:Generator_UserRelationName="FK_AnagParticolari_AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" msprop:Generator_RelationVarName="relationFK_AnagParticolari_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" />
<msdata:Relationship name="FK_Soggetti2Utente_AnagOperatori" msdata:parent="AnagOperatori" msdata:child="Soggetti2Utente" msdata:parentkey="CodSoggetto" msdata:childkey="CodSoggetto" msprop:Generator_UserChildTable="Soggetti2Utente" msprop:Generator_ChildPropName="GetSoggetti2UtenteRows" msprop:Generator_UserRelationName="FK_Soggetti2Utente_AnagOperatori" msprop:Generator_ParentPropName="AnagOperatoriRow" msprop:Generator_RelationVarName="relationFK_Soggetti2Utente_AnagOperatori" msprop:Generator_UserParentTable="AnagOperatori" />
<msdata:Relationship name="FK_AnagImpianti_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagImpianti" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagImpianti" msprop:Generator_ChildPropName="GetAnagImpiantiRows" msprop:Generator_UserRelationName="FK_AnagImpianti_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_AnagImpianti_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
<msdata:Relationship name="FK_ElencoCartellini_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="ElencoCartellini" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
<msdata:Relationship name="FK_ElencoCartellini_AnagStatiProdotto" msdata:parent="AnagStatiProdotto" msdata:child="ElencoCartellini" msdata:parentkey="CodStato" msdata:childkey="CodStato" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagStatiProdotto" msprop:Generator_UserParentTable="AnagStatiProdotto" msprop:Generator_ParentPropName="AnagStatiProdottoRow" />
<msdata:Relationship name="FK_AnagOperatori_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagOperatori" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagOperatori" msprop:Generator_ChildPropName="GetAnagOperatoriRows" msprop:Generator_UserRelationName="FK_AnagOperatori_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_AnagOperatori_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
<msdata:Relationship name="FK_AnagParticolari_AnagCompanySito" msdata:parent="AnagCompanySito" msdata:child="AnagParticolari" msdata:parentkey="CodCS" msdata:childkey="CodCS" msprop:Generator_UserChildTable="AnagParticolari" msprop:Generator_ChildPropName="GetAnagParticolariRows" msprop:Generator_UserRelationName="FK_AnagParticolari_AnagCompanySito" msprop:Generator_RelationVarName="relationFK_AnagParticolari_AnagCompanySito" msprop:Generator_UserParentTable="AnagCompanySito" msprop:Generator_ParentPropName="AnagCompanySitoRow" />
<msdata:Relationship name="FK_Soggetti2Utente_AnagOperatori" msdata:parent="AnagOperatori" msdata:child="Soggetti2Utente" msdata:parentkey="CodSoggetto" msdata:childkey="CodSoggetto" msprop:Generator_UserChildTable="Soggetti2Utente" msprop:Generator_ChildPropName="GetSoggetti2UtenteRows" msprop:Generator_UserRelationName="FK_Soggetti2Utente_AnagOperatori" msprop:Generator_RelationVarName="relationFK_Soggetti2Utente_AnagOperatori" msprop:Generator_UserParentTable="AnagOperatori" msprop:Generator_ParentPropName="AnagOperatoriRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+4 -4
View File
@@ -4,7 +4,7 @@
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="625" 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="0" ViewPortY="628" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagStati" ZOrder="28" X="867" Y="533" Height="115" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagTipoDichiaraz" ZOrder="14" X="828" Y="719" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
@@ -17,7 +17,7 @@
<Shape ID="DesignTable:AnagImballi" ZOrder="23" X="72" Y="488" Height="153" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_ArtInProd" ZOrder="17" X="1181" Y="757" Height="324" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagOperatori" ZOrder="13" X="488" Y="821" Height="267" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:AnagClienti" ZOrder="22" X="461" Y="1143" Height="153" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagClienti" ZOrder="22" X="817" Y="1304" Height="153" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagParticolari" ZOrder="20" X="1190" Y="331" Height="210" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagFamiglie" ZOrder="18" X="1193" Y="567" Height="134" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Soggetti2Utente" ZOrder="15" X="89" Y="880" Height="172" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
@@ -26,8 +26,8 @@
<Shape ID="DesignTable:stp_prtCartLiquidiF10ByUDC" ZOrder="9" X="289" Y="22" Height="148" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="80" />
<Shape ID="DesignTable:stp_prtCartLiquidiF18ByUDC" ZOrder="8" X="291" Y="196" Height="147" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="79" />
<Shape ID="DesignTable:v_RapQualNote" ZOrder="6" X="85" Y="1082" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoNC" ZOrder="2" X="811" Y="943" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:UDC_NC" ZOrder="1" X="799" Y="1307" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:ElencoNC" ZOrder="2" X="809" Y="901" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:UDC_NC" ZOrder="1" X="446" Y="1130" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_AnagImpianti_AnagCompanySito" ZOrder="27" LineWidth="11">
+3
View File
@@ -31,6 +31,7 @@ namespace GMW_data
public DS_ApplicazioneTableAdapters.v_specParticolariTableAdapter taSpecPart;
public DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter taStatiProd;
public DS_ApplicazioneTableAdapters.AnagTipoDichiarazTableAdapter taTipoDich;
public DS_ApplicazioneTableAdapters.UDC_NCTableAdapter taUDC2NC;
public DS_cartelliniTableAdapters.stp_prtCartByUDCTableAdapter taPrtCart;
public DS_cartelliniTableAdapters.stp_prtCartALTableAdapter taPrtCartAL;
@@ -68,6 +69,7 @@ namespace GMW_data
taSpecPart = new GMW_data.DS_ApplicazioneTableAdapters.v_specParticolariTableAdapter();
taStatiProd = new GMW_data.DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter();
taTipoDich = new GMW_data.DS_ApplicazioneTableAdapters.AnagTipoDichiarazTableAdapter();
taUDC2NC = new GMW_data.DS_ApplicazioneTableAdapters.UDC_NCTableAdapter();
taPrtCart = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartByUDCTableAdapter();
taPrtCartAL = new DS_cartelliniTableAdapters.stp_prtCartALTableAdapter();
@@ -107,6 +109,7 @@ namespace GMW_data
taSpecPart.Connection.ConnectionString = connString;
taStatiProd.Connection.ConnectionString = connString;
taTipoDich.Connection.ConnectionString = connString;
taUDC2NC.Connection.ConnectionString = connString;
taPrtCart.Connection.ConnectionString = connString;
taPrtCartAL.Connection.ConnectionString = connString;
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("3.1.787.2001")]
[assembly: AssemblyFileVersion("3.1.787.2001")]
[assembly: AssemblyVersion("3.1.789.2002")]
[assembly: AssemblyFileVersion("3.1.789.2002")]
[assembly: AssemblyCopyright("Steamware © 2007-2015")]
[assembly: AssemblyCompany("Steamware")]
+2 -2
View File
@@ -6,8 +6,8 @@
using System.Reflection;
[assembly: AssemblyVersion("3.1.787.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("3.1.787.<#= this.RevisionNumber #>")]
[assembly: AssemblyVersion("3.1.789.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("3.1.789.<#= this.RevisionNumber #>")]
[assembly: AssemblyCopyright("Steamware © 2007-<#= DateTime.Now.Year #>")]
[assembly: AssemblyCompany("Steamware")]
<#+