continuato selezione NC x child (va fatta stampa...)

This commit is contained in:
Samuele E. Locatelli
2015-06-29 18:16:13 +02:00
parent d770db705e
commit ef87d7681c
11 changed files with 870 additions and 167 deletions
Binary file not shown.
Binary file not shown.
+61 -56
View File
@@ -26,72 +26,77 @@
<asp:LinkButton runat="server" ID="lbCancel" Visible="false" CssClass="btn btn-danger" OnClick="lbCancel_Click" Width="20em"><i class="fa fa-close fa-2x"></i> <%: traduci("btnCancel") %></asp:LinkButton>
</div>
<div class="col-xs-6">
<asp:LinkButton runat="server" ID="lbConfermaNC" Visible="false" CssClass="btn btn-default" OnClick="lbConfermaNC_Click" Width="20em"><i class="fa fa-bookmark fa-2x"></i> <%: traduci("btnConfermaNC") %></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbPrint" Visible="false" CssClass="btn btn-default" OnClick="lbPrint_Click" Width="20em"><i class="fa fa-print fa-2x"></i> <%: traduci("btnRistampaNC") %></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbConfermaNC" Visible="false" CssClass="btn btn-success" OnClick="lbConfermaNC_Click" Width="20em"><i class="fa fa-bookmark fa-2x"></i> <%: traduci("btnConfermaNC") %></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbPrint" Visible="false" CssClass="btn btn-primary" OnClick="lbPrint_Click" Width="20em"><i class="fa fa-print fa-2x"></i> <%: traduci("btnRistampaNC") %></asp:LinkButton>
</div>
</div>
<div class="col-xs-12">
<asp:GridView runat="server" ID="grView" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="UDC" Width="100%" AllowPaging="True">
<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" />
<EmptyDataTemplate>
<asp:Label runat="server" ID="lblNoRecord" Text="Nessun record trovato" />
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server" Checked='<%# Convert.ToBoolean(Eval("IsSelected")) %>' AutoPostBack="true" OnCheckedChanged="chkSelect_CheckedChanged" Enabled='<%# editEnabled %>' />
</ItemTemplate>
<HeaderTemplate>
<asp:CheckBox ID="btnSelAll" runat="server" Checked="false" ToolTip='<%# traduci("btnSelAll") %>'
OnCheckedChanged="btnSelAll_Click" CssClass="ctrHeaderPager" AutoPostBack="true" Enabled='<%# editEnabled %>'></asp:CheckBox>
</HeaderTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<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="NC" HeaderText="NC ass." SortExpression="NC" />
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByFlussoDate" TypeName="GMW_data.DS_ApplicazioneTableAdapters.UDC_NCTableAdapter">
<%--FilterExpression=" Note like '%{0}%' "
<div class="col-xs-11">
<asp:GridView runat="server" ID="grView" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="UDC" Width="100%" AllowPaging="True">
<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" />
<EmptyDataTemplate>
<asp:Label runat="server" ID="lblNoRecord" Text="Nessun record trovato" />
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server" Checked='<%# Convert.ToBoolean(Eval("IsSelected")) %>' AutoPostBack="true" OnCheckedChanged="chkSelect_CheckedChanged" Enabled='<%# editEnabled %>' />
</ItemTemplate>
<HeaderTemplate>
<asp:CheckBox ID="btnSelAll" runat="server" Checked="false" ToolTip='<%# traduci("btnSelAll") %>'
OnCheckedChanged="btnSelAll_Click" CssClass="ctrHeaderPager" AutoPostBack="true" Enabled='<%# editEnabled %>'></asp:CheckBox>
</HeaderTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<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="NC" HeaderText="NC ass." SortExpression="NC" />
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByFlussoDate" TypeName="GMW_data.DS_ApplicazioneTableAdapters.UDC_NCTableAdapter">
<%--FilterExpression=" Note like '%{0}%' "
<FilterParameters>
<asp:SessionParameter Name="Note" SessionField="NoteNC" Type="String" />
</FilterParameters>--%>
<SelectParameters>
<asp:SessionParameter Name="CodCS" SessionField="CodCS" Type="String" />
<asp:ControlParameter ControlID="ddlSelTipo" Name="Flusso" PropertyName="SelectedValue" Type="String" />
<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>
<uc1:mod_righePag runat="server" ID="mod_righePag" />
<SelectParameters>
<asp:SessionParameter Name="CodCS" SessionField="CodCS" Type="String" />
<asp:ControlParameter ControlID="ddlSelTipo" Name="Flusso" PropertyName="SelectedValue" Type="String" />
<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>
<uc1:mod_righePag runat="server" ID="mod_righePag" />
</div>
<div class="col-xs-1">
<asp:Label runat="server" ID="lblNumUdcAnc" />
<br />
<asp:Label runat="server" ID="lblNumUdcChild" />
<br />
<%--<asp:LinkButton runat="server" ID="LinkButton1" Visible="false" CssClass="btn btn-primary" OnClick="lbPrint_Click" Width="20em"><i class="fa fa-print fa-2x"></i> <%: traduci("btnRistampaNC") %></asp:LinkButton>--%>
</div>
</div>
</div>
a questo punto
<ul>
<li>selezione UDC "madre" --> mostra numero (e dett?) UDC child</li>
<li>user + datetime correnti</li>
<li>inserimento numero NC (testo)</li>
<li>permetto salvataggio NC su tab NC + tab ATTR --> li assegno A TUTTI UDC (opzionale da web.config x consumati/spediti)</li>
<li>NC: metto in coda di stampa (su stampante postazione corrente...) TRANNE consumati/spediti/messi in postazione (IN/OUT)</li>
<li>mostro elenco ultime NC</li>
</ul>
+22
View File
@@ -24,9 +24,27 @@ namespace GMW.WebUserControls
mod_righePag.numRowPag = memLayer.ML.CRI("_righeDataGridShort");
grView.PageSize = mod_righePag.numRowPag;
fixSelections();
showEffects();
}
mod_righePag.eh_newNum += mod_righePag_eh_newNum;
}
/// <summary>
/// aggiorna informazioni sull'IMPATTO (come UDC child) della selezione
/// </summary>
private void showEffects()
{
// calcolo num UDC
try
{
lblNumUdcAnc.Text = string.Format("Udc selezionati: <b>{0}</b>", DataProxy.obj.taUDC2NC.getByIdxNc(idxNcSel).Rows.Count);
lblNumUdcChild.Text = string.Format("Udc totali (sel + in cascata): <b>{0}</b>", DataProxy.obj.taUNCTree.GetData(idxNcSel).Rows.Count);
}
catch
{
lblNumUdcAnc.Text = "";
lblNumUdcChild.Text = "";
}
}
void mod_righePag_eh_newNum(object sender, EventArgs e)
{
@@ -47,6 +65,7 @@ namespace GMW.WebUserControls
// recupero dati e imposto filtri...
txtSearch.Text = riga.SearchNote;
if (riga.TipoCart != "") ddlSelTipo.SelectedValue = riga.TipoCart;
intervalloDate intervallo = new intervalloDate();
intervallo.inizio = riga.DataFrom;
intervallo.fine = riga.DataTo;
@@ -118,6 +137,7 @@ namespace GMW.WebUserControls
lbSave.Visible = false;
// aggiorna selezione effettuata (numero records, ...)
fixSelections();
showEffects();
}
/// <summary>
/// wrapper traduzione
@@ -218,6 +238,7 @@ namespace GMW.WebUserControls
{
DataProxy.obj.taENC.updCompleta(idxNcSel, true);
fixSelections();
showEffects();
grView.DataBind();
}
/// <summary>
@@ -227,6 +248,7 @@ namespace GMW.WebUserControls
/// <param name="e"></param>
protected void lbPrint_Click(object sender, EventArgs e)
{
// effettua stampa di TUTTI gli UDC compresi (TRANNE quelli in carico a postazioni in IN/OUT che saranno poi stampati...)
#if false
// ciclo grView e salvo le righe selezionate, e cancello le EVENTUALI deselezionate
DateTime start;
+18
View File
@@ -128,5 +128,23 @@ namespace GMW.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GMW.WebUserControls.mod_righePag mod_righePag;
/// <summary>
/// lblNumUdcAnc 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 lblNumUdcAnc;
/// <summary>
/// lblNumUdcChild 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 lblNumUdcChild;
}
}
BIN
View File
Binary file not shown.
Binary file not shown.
+691 -82
View File
@@ -68,6 +68,8 @@ namespace GMW_data {
private UDC_NCDataTable tableUDC_NC;
private UNC_treeDataTable tableUNC_tree;
private global::System.Data.DataRelation relationFK_AnagImpianti_AnagCompanySito;
private global::System.Data.DataRelation relationFK_ElencoCartellini_AnagCompanySito;
@@ -174,6 +176,9 @@ namespace GMW_data {
if ((ds.Tables["UDC_NC"] != null)) {
base.Tables.Add(new UDC_NCDataTable(ds.Tables["UDC_NC"]));
}
if ((ds.Tables["UNC_tree"] != null)) {
base.Tables.Add(new UNC_treeDataTable(ds.Tables["UNC_tree"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -412,6 +417,16 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public UNC_treeDataTable UNC_tree {
get {
return this.tableUNC_tree;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -545,6 +560,9 @@ namespace GMW_data {
if ((ds.Tables["UDC_NC"] != null)) {
base.Tables.Add(new UDC_NCDataTable(ds.Tables["UDC_NC"]));
}
if ((ds.Tables["UNC_tree"] != null)) {
base.Tables.Add(new UNC_treeDataTable(ds.Tables["UNC_tree"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -710,6 +728,12 @@ namespace GMW_data {
this.tableUDC_NC.InitVars();
}
}
this.tableUNC_tree = ((UNC_treeDataTable)(base.Tables["UNC_tree"]));
if ((initTable == true)) {
if ((this.tableUNC_tree != null)) {
this.tableUNC_tree.InitVars();
}
}
this.relationFK_AnagImpianti_AnagCompanySito = this.Relations["FK_AnagImpianti_AnagCompanySito"];
this.relationFK_ElencoCartellini_AnagCompanySito = this.Relations["FK_ElencoCartellini_AnagCompanySito"];
this.relationFK_ElencoCartellini_AnagStatiProdotto = this.Relations["FK_ElencoCartellini_AnagStatiProdotto"];
@@ -770,6 +794,8 @@ namespace GMW_data {
base.Tables.Add(this.tableElencoNC);
this.tableUDC_NC = new UDC_NCDataTable();
base.Tables.Add(this.tableUDC_NC);
this.tableUNC_tree = new UNC_treeDataTable();
base.Tables.Add(this.tableUNC_tree);
this.relationFK_AnagImpianti_AnagCompanySito = new global::System.Data.DataRelation("FK_AnagImpianti_AnagCompanySito", new global::System.Data.DataColumn[] {
this.tableAnagCompanySito.CodCSColumn}, new global::System.Data.DataColumn[] {
this.tableAnagImpianti.CodCSColumn}, false);
@@ -928,6 +954,12 @@ namespace GMW_data {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeUNC_tree() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -1049,6 +1081,9 @@ namespace GMW_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void UDC_NCRowChangeEventHandler(object sender, UDC_NCRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void UNC_treeRowChangeEventHandler(object sender, UNC_treeRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -9636,6 +9671,270 @@ namespace GMW_data {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class UNC_treeDataTable : global::System.Data.TypedTableBase<UNC_treeRow> {
private global::System.Data.DataColumn columnUDC;
private global::System.Data.DataColumn columnliv;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UNC_treeDataTable() {
this.TableName = "UNC_tree";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal UNC_treeDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected UNC_treeDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn UDCColumn {
get {
return this.columnUDC;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn livColumn {
get {
return this.columnliv;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UNC_treeRow this[int index] {
get {
return ((UNC_treeRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event UNC_treeRowChangeEventHandler UNC_treeRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event UNC_treeRowChangeEventHandler UNC_treeRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event UNC_treeRowChangeEventHandler UNC_treeRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event UNC_treeRowChangeEventHandler UNC_treeRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddUNC_treeRow(UNC_treeRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UNC_treeRow AddUNC_treeRow(string UDC, int liv) {
UNC_treeRow rowUNC_treeRow = ((UNC_treeRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
UDC,
liv};
rowUNC_treeRow.ItemArray = columnValuesArray;
this.Rows.Add(rowUNC_treeRow);
return rowUNC_treeRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
UNC_treeDataTable cln = ((UNC_treeDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new UNC_treeDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnUDC = base.Columns["UDC"];
this.columnliv = base.Columns["liv"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnUDC);
this.columnliv = new global::System.Data.DataColumn("liv", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnliv);
this.columnUDC.ReadOnly = true;
this.columnUDC.MaxLength = 50;
this.columnliv.ReadOnly = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UNC_treeRow NewUNC_treeRow() {
return ((UNC_treeRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new UNC_treeRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(UNC_treeRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.UNC_treeRowChanged != null)) {
this.UNC_treeRowChanged(this, new UNC_treeRowChangeEvent(((UNC_treeRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.UNC_treeRowChanging != null)) {
this.UNC_treeRowChanging(this, new UNC_treeRowChangeEvent(((UNC_treeRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.UNC_treeRowDeleted != null)) {
this.UNC_treeRowDeleted(this, new UNC_treeRowChangeEvent(((UNC_treeRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.UNC_treeRowDeleting != null)) {
this.UNC_treeRowDeleting(this, new UNC_treeRowChangeEvent(((UNC_treeRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveUNC_treeRow(UNC_treeRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Applicazione ds = new DS_Applicazione();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "UNC_treeDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
@@ -14861,6 +15160,77 @@ namespace GMW_data {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class UNC_treeRow : global::System.Data.DataRow {
private UNC_treeDataTable tableUNC_tree;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal UNC_treeRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableUNC_tree = ((UNC_treeDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string UDC {
get {
try {
return ((string)(this[this.tableUNC_tree.UDCColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'UDC\' in table \'UNC_tree\' is DBNull.", e);
}
}
set {
this[this.tableUNC_tree.UDCColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int liv {
get {
try {
return ((int)(this[this.tableUNC_tree.livColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'liv\' in table \'UNC_tree\' is DBNull.", e);
}
}
set {
this[this.tableUNC_tree.livColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsUDCNull() {
return this.IsNull(this.tableUNC_tree.UDCColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetUDCNull() {
this[this.tableUNC_tree.UDCColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IslivNull() {
return this.IsNull(this.tableUNC_tree.livColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetlivNull() {
this[this.tableUNC_tree.livColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -15608,6 +15978,40 @@ namespace GMW_data {
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class UNC_treeRowChangeEvent : global::System.EventArgs {
private UNC_treeRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UNC_treeRowChangeEvent(UNC_treeRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UNC_treeRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace GMW_data.DS_ApplicazioneTableAdapters {
@@ -26608,7 +27012,7 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
[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[3];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_UDC_NC";
@@ -26626,12 +27030,18 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
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].CommandText = "dbo.stp_ENC2U_getByIdxNc";
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, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_ENC2U_toggle";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].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[3].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[3].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[3].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()]
@@ -26705,11 +27115,28 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
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")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.UDC_NCDataTable getByIdxNc(global::System.Nullable<int> IdxNC) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((IdxNC.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxNC.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].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];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((IdxNC.HasValue == true)) {
command.Parameters[1].Value = ((int)(IdxNC.Value));
}
@@ -26746,6 +27173,188 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class UNC_treeTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UNC_treeTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "UNC_tree";
tableMapping.ColumnMappings.Add("UDC", "UDC");
tableMapping.ColumnMappings.Add("liv", "liv");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString;
}
[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[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "dbo.stp_UNC_getChildByIdxNc";
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[0].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[0].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, "", "", ""));
}
[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")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Applicazione.UNC_treeDataTable dataTable, global::System.Nullable<int> IdxNC) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((IdxNC.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxNC.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
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")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Applicazione.UNC_treeDataTable GetData(global::System.Nullable<int> IdxNC) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((IdxNC.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxNC.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
DS_Applicazione.UNC_treeDataTable dataTable = new DS_Applicazione.UNC_treeDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
@@ -27193,6 +27802,15 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allChangedRows.AddRange(updatedRows);
}
}
if ((this._anagStatiProdottoTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._anagStatiProdottoTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._anagOperatoriTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -27202,12 +27820,21 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allChangedRows.AddRange(updatedRows);
}
}
if ((this._anagStatiProdottoTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
if ((this._anagStatiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._anagStatiProdottoTableAdapter.Update(updatedRows));
result = (result + this._anagStatiTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._elencoNCTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.ElencoNC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._elencoNCTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -27238,30 +27865,12 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allChangedRows.AddRange(updatedRows);
}
}
if ((this._anagParticolariTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
if ((this._anagClientiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._anagParticolariTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._anagStatiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._anagStatiTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._elencoNCTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.ElencoNC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._elencoNCTableAdapter.Update(updatedRows));
result = (result + this._anagClientiTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -27319,12 +27928,12 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allChangedRows.AddRange(updatedRows);
}
}
if ((this._anagClientiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
if ((this._anagParticolariTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._anagClientiTableAdapter.Update(updatedRows));
result = (result + this._anagParticolariTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -27346,6 +27955,14 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allAddedRows.AddRange(addedRows);
}
}
if ((this._anagStatiProdottoTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._anagStatiProdottoTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._anagOperatoriTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -27354,11 +27971,19 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allAddedRows.AddRange(addedRows);
}
}
if ((this._anagStatiProdottoTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Added);
if ((this._anagStatiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._anagStatiProdottoTableAdapter.Update(addedRows));
result = (result + this._anagStatiTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._elencoNCTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.ElencoNC.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._elencoNCTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -27386,27 +28011,11 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allAddedRows.AddRange(addedRows);
}
}
if ((this._anagParticolariTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Added);
if ((this._anagClientiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._anagParticolariTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._anagStatiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._anagStatiTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._elencoNCTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.ElencoNC.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._elencoNCTableAdapter.Update(addedRows));
result = (result + this._anagClientiTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -27458,11 +28067,11 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allAddedRows.AddRange(addedRows);
}
}
if ((this._anagClientiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Added);
if ((this._anagParticolariTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._anagClientiTableAdapter.Update(addedRows));
result = (result + this._anagParticolariTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -27476,11 +28085,11 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
int result = 0;
if ((this._anagClientiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if ((this._anagParticolariTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._anagClientiTableAdapter.Update(deletedRows));
result = (result + this._anagParticolariTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -27532,27 +28141,11 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allChangedRows.AddRange(deletedRows);
}
}
if ((this._elencoNCTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.ElencoNC.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if ((this._anagClientiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._elencoNCTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._anagStatiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._anagStatiTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._anagParticolariTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._anagParticolariTableAdapter.Update(deletedRows));
result = (result + this._anagClientiTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -27580,11 +28173,19 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allChangedRows.AddRange(deletedRows);
}
}
if ((this._anagStatiProdottoTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if ((this._elencoNCTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.ElencoNC.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._anagStatiProdottoTableAdapter.Update(deletedRows));
result = (result + this._elencoNCTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._anagStatiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._anagStatiTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -27596,6 +28197,14 @@ SELECT IdxNC, CodNC, DescrNC, TipoCart, DataFrom, DataTo, SearchNote, DtCreaz, I
allChangedRows.AddRange(deletedRows);
}
}
if ((this._anagStatiProdottoTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._anagStatiProdottoTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._anagCompanySitoTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagCompanySito.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
+45
View File
@@ -2046,6 +2046,17 @@ FROM v_UDC_NC</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_ENC2U_getByIdxNc" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxNc" GetMethodModifier="Public" GetMethodName="getByIdxNc" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxNc" UserSourceName="getByIdxNc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ENC2U_getByIdxNc</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" />
</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">
@@ -2061,6 +2072,26 @@ FROM v_UDC_NC</CommandText>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UNC_treeTableAdapter" GeneratorDataComponentClassName="UNC_treeTableAdapter" Name="UNC_tree" UserDataComponentName="UNC_treeTableAdapter">
<MainSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_UNC_getChildByIdxNc" DbObjectType="StoredProcedure" 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">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_UNC_getChildByIdxNc</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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="UDC" DataSetColumn="UDC" />
<Mapping SourceColumn="liv" DataSetColumn="liv" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -3329,6 +3360,20 @@ FROM v_UDC_NC</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UNC_tree" msprop:Generator_TableClassName="UNC_treeDataTable" msprop:Generator_TableVarName="tableUNC_tree" msprop:Generator_TablePropName="UNC_tree" msprop:Generator_RowDeletingName="UNC_treeRowDeleting" msprop:Generator_RowChangingName="UNC_treeRowChanging" msprop:Generator_RowEvHandlerName="UNC_treeRowChangeEventHandler" msprop:Generator_RowDeletedName="UNC_treeRowDeleted" msprop:Generator_UserTableName="UNC_tree" msprop:Generator_RowChangedName="UNC_treeRowChanged" msprop:Generator_RowEvArgName="UNC_treeRowChangeEvent" msprop:Generator_RowClassName="UNC_treeRow">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn" msprop:Generator_UserColumnName="UDC" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="liv" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnliv" msprop:Generator_ColumnPropNameInRow="liv" msprop:Generator_ColumnPropNameInTable="livColumn" msprop:Generator_UserColumnName="liv" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
+30 -29
View File
@@ -4,33 +4,34 @@
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="484" 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="69" ViewPortY="484" 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" />
<Shape ID="DesignTable:AnagStatiProdotto" ZOrder="21" X="157" Y="722" Height="134" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:RelazUDC" ZOrder="4" X="27" Y="249" Height="210" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagImpianti" ZOrder="26" X="853" Y="19" Height="191" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagCompanySito" ZOrder="25" X="1129" Y="83" Height="172" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagBilance" ZOrder="3" X="858" Y="224" Height="210" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ElencoCartellini" ZOrder="5" X="464" Y="4" Height="761" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="520" />
<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="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" />
<Shape ID="DesignTable:v_specParticolari" ZOrder="7" X="30" Y="-23" Height="267" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:ElencoPostazioni" ZOrder="10" X="1167" Y="1106" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<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="809" Y="901" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<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" />
<Shape ID="DesignTable:AnagStati" ZOrder="29" X="867" Y="533" Height="115" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagTipoDichiaraz" ZOrder="15" X="828" Y="719" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagStatiProdotto" ZOrder="22" X="157" Y="722" Height="134" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:RelazUDC" ZOrder="5" X="27" Y="249" Height="210" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagImpianti" ZOrder="27" X="853" Y="19" Height="191" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagCompanySito" ZOrder="26" X="1129" Y="83" Height="172" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagBilance" ZOrder="4" X="858" Y="224" Height="210" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ElencoCartellini" ZOrder="6" X="464" Y="4" Height="761" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="520" />
<Shape ID="DesignTable:AnagImballi" ZOrder="24" X="72" Y="488" Height="153" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_ArtInProd" ZOrder="18" X="1181" Y="757" Height="324" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagOperatori" ZOrder="14" X="488" Y="821" Height="267" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:AnagClienti" ZOrder="23" X="817" Y="1304" Height="153" Width="269" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagParticolari" ZOrder="21" X="1190" Y="331" Height="210" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagFamiglie" ZOrder="19" X="1193" Y="567" Height="134" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Soggetti2Utente" ZOrder="16" X="89" Y="880" Height="172" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_specParticolari" ZOrder="8" X="30" Y="-23" Height="267" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:ElencoPostazioni" ZOrder="11" X="1167" Y="1106" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:stp_prtCartLiquidiF10ByUDC" ZOrder="10" X="289" Y="22" Height="148" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="80" />
<Shape ID="DesignTable:stp_prtCartLiquidiF18ByUDC" ZOrder="9" X="291" Y="196" Height="147" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="79" />
<Shape ID="DesignTable:v_RapQualNote" ZOrder="7" X="85" Y="1082" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoNC" ZOrder="3" X="809" Y="901" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:UDC_NC" ZOrder="2" X="446" Y="1130" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:stp_UNC_getChildByIdxNc" ZOrder="1" X="1167" Y="1321" Height="115" Width="157" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_AnagImpianti_AnagCompanySito" ZOrder="27" LineWidth="11">
<Connector ID="DesignRelation:FK_AnagImpianti_AnagCompanySito" ZOrder="28" LineWidth="11">
<RoutePoints>
<Point>
<X>1129</X>
@@ -42,7 +43,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagCompanySito" ZOrder="12" LineWidth="11">
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagCompanySito" ZOrder="13" LineWidth="11">
<RoutePoints>
<Point>
<X>1170</X>
@@ -58,7 +59,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagStatiProdotto" ZOrder="24" LineWidth="11">
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagStatiProdotto" ZOrder="25" LineWidth="11">
<RoutePoints>
<Point>
<X>336</X>
@@ -74,7 +75,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AnagOperatori_AnagCompanySito" ZOrder="11" LineWidth="11">
<Connector ID="DesignRelation:FK_AnagOperatori_AnagCompanySito" ZOrder="12" LineWidth="11">
<RoutePoints>
<Point>
<X>1154</X>
@@ -90,7 +91,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AnagParticolari_AnagCompanySito" ZOrder="19" LineWidth="11">
<Connector ID="DesignRelation:FK_AnagParticolari_AnagCompanySito" ZOrder="20" LineWidth="11">
<RoutePoints>
<Point>
<X>1248</X>
@@ -102,7 +103,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Soggetti2Utente_AnagOperatori" ZOrder="16" LineWidth="11">
<Connector ID="DesignRelation:FK_Soggetti2Utente_AnagOperatori" ZOrder="17" LineWidth="11">
<RoutePoints>
<Point>
<X>488</X>
+3
View File
@@ -32,6 +32,7 @@ namespace GMW_data
public DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter taStatiProd;
public DS_ApplicazioneTableAdapters.AnagTipoDichiarazTableAdapter taTipoDich;
public DS_ApplicazioneTableAdapters.UDC_NCTableAdapter taUDC2NC;
public DS_ApplicazioneTableAdapters.UNC_treeTableAdapter taUNCTree;
public DS_cartelliniTableAdapters.stp_prtCartByUDCTableAdapter taPrtCart;
public DS_cartelliniTableAdapters.stp_prtCartALTableAdapter taPrtCartAL;
@@ -70,6 +71,7 @@ namespace GMW_data
taStatiProd = new GMW_data.DS_ApplicazioneTableAdapters.AnagStatiProdottoTableAdapter();
taTipoDich = new GMW_data.DS_ApplicazioneTableAdapters.AnagTipoDichiarazTableAdapter();
taUDC2NC = new GMW_data.DS_ApplicazioneTableAdapters.UDC_NCTableAdapter();
taUNCTree = new GMW_data.DS_ApplicazioneTableAdapters.UNC_treeTableAdapter();
taPrtCart = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartByUDCTableAdapter();
taPrtCartAL = new DS_cartelliniTableAdapters.stp_prtCartALTableAdapter();
@@ -110,6 +112,7 @@ namespace GMW_data
taStatiProd.Connection.ConnectionString = connString;
taTipoDich.Connection.ConnectionString = connString;
taUDC2NC.Connection.ConnectionString = connString;
taUNCTree.Connection.ConnectionString = connString;
taPrtCart.Connection.ConnectionString = connString;
taPrtCartAL.Connection.ConnectionString = connString;