refresh dll + novi metodi parte data x gestione nuova ricerca "like" terminalino
git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@229 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
+5
-1
@@ -152,12 +152,16 @@
|
||||
.cellaInattiva
|
||||
{
|
||||
text-align: center;
|
||||
font-size: 8pt;
|
||||
font-size:8pt;
|
||||
height: 40px;
|
||||
background-image: url(images/grigio_80.png);
|
||||
color: White;
|
||||
border: solid 1px #777777;
|
||||
}
|
||||
.cellaInattiva a
|
||||
{
|
||||
color: White;
|
||||
}
|
||||
.cellaSelezAll
|
||||
{
|
||||
text-align: center;
|
||||
|
||||
+4
-3
@@ -89,6 +89,7 @@
|
||||
<add key="NumX" value="10" />
|
||||
<add key="NumY" value="5" />
|
||||
<add key="NumZ" value="1" />
|
||||
<add key="showSizeCellaInDettMag" value="false"/>
|
||||
|
||||
<!--Setup periodo controlli date-->
|
||||
<add key="defDayFrom" value="-60"/>
|
||||
@@ -115,8 +116,8 @@
|
||||
<add key="_adminEmail" value="samuele@steamware.net" />
|
||||
<add key="_logDir" value="~/logs/" />
|
||||
<add key="_smtpCli" value="keyhammer.ath.cx" />
|
||||
<add key="GMWConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="GMWConnectionString" value="Data Source=10.74.82.217\sql2008;Initial Catalog=GMW_prod;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\sql2008;Initial Catalog=GMW_prod;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<!--<add key="GMWConnectionString" value="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
@@ -125,7 +126,7 @@
|
||||
<add key="VocabolarioConnectionString" value="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer" />-->
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=t110-win2008r2\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=10.74.82.217\sql2008;Initial Catalog=GMW_prod;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
</connectionStrings>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
|
||||
@@ -93,6 +93,8 @@ namespace GMW.WebUserControls
|
||||
string EsponenteSel = memLayer.ML.StringSessionObj("Esponente_sel");
|
||||
// ottengo elenco dettaglio UDC che occupano il blocco...
|
||||
DS_magazzino.v_UdcDetailDataTable tabUdc = MagClass.magazzino.taDettUDC.getUdcDetailByIdxBlocco(IdxBlocco);
|
||||
// controllo se sia un magazzino mono o multicella...
|
||||
bool multicella = MagClass.magazzino.taCelle.getByIdxBlocco(IdxBlocco).Rows.Count > 1;
|
||||
// SE ci sono righe aggiorno il blocco...
|
||||
if (tabUdc.Rows.Count > 0)
|
||||
{
|
||||
@@ -102,7 +104,7 @@ namespace GMW.WebUserControls
|
||||
// salvo che ho 1 UDC in + nella cella...
|
||||
BloccoCelle[riga.X - 1, riga.Y - 1].NumUdc++;
|
||||
// controllo se nella cella ci sia il particolare selezionato...
|
||||
if (ParticolareSel == riga.Particolare)
|
||||
if (ParticolareSel == riga.Particolare && multicella)
|
||||
{
|
||||
// controllo se sia anche lo specifico esponente/stato
|
||||
if (DescStatoSel == riga.DescStato && EsponenteSel == riga.Esponente)
|
||||
@@ -135,18 +137,28 @@ namespace GMW.WebUserControls
|
||||
/// </summary>
|
||||
private void creaLabelTooltipCelle()
|
||||
{
|
||||
// ...in base al setup mostro anche il disponibile o meno...
|
||||
string formato = "";
|
||||
if (memLayer.ML.confReadBool("showSizeCellaInDettMag"))
|
||||
{
|
||||
formato = "<b>{0}</b><br/>{1}";
|
||||
}
|
||||
else
|
||||
{
|
||||
formato = "<b>{0}</b>";
|
||||
}
|
||||
// faccio ciclo x ogni oggetto blocco..
|
||||
for (int pos_y = 0; pos_y < numY; pos_y++)
|
||||
{
|
||||
for (int pos_x = 0; pos_x < numX; pos_x++)
|
||||
{
|
||||
// calcolo la capacità della cella...
|
||||
BloccoCelle[pos_x, pos_y].Label = string.Format("{0}/{1}", BloccoCelle[pos_x, pos_y].NumUdc, BloccoCelle[pos_x, pos_y].Capacita);
|
||||
// calcolo la capacità della cella... e mostro secondo formato definito prima
|
||||
BloccoCelle[pos_x, pos_y].Label = string.Format(formato, BloccoCelle[pos_x, pos_y].NumUdc, BloccoCelle[pos_x, pos_y].Capacita);
|
||||
// se è attiva = 0 aggiorno label
|
||||
if (!BloccoCelle[pos_x, pos_y].Attiva)
|
||||
{
|
||||
BloccoCelle[pos_x, pos_y].Css = "cellaInattiva";
|
||||
BloccoCelle[pos_x, pos_y].Label = string.Format("[{0}]", BloccoCelle[pos_x, pos_y].Label);
|
||||
//BloccoCelle[pos_x, pos_y].Label = string.Format("[{0}]", BloccoCelle[pos_x, pos_y].Label);
|
||||
// ... e tooltip
|
||||
BloccoCelle[pos_x, pos_y].ToolTip = string.Format("{0}{1}{2}", traduci("CellaInattiva"), Environment.NewLine, BloccoCelle[pos_x, pos_y].ToolTip);
|
||||
}
|
||||
|
||||
+2067
-2067
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -34,6 +34,7 @@
|
||||
<add key="NumX" value="10"/>
|
||||
<add key="NumY" value="5"/>
|
||||
<add key="NumZ" value="1"/>
|
||||
<add key="showSizeCellaInDettMag" value="false"/>
|
||||
|
||||
<!--Setup periodo controlli date-->
|
||||
<add key="defDayFrom" value="-60"/>
|
||||
|
||||
@@ -31,36 +31,3 @@ c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\RdlCompile.compiled
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\GMW.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\GMW.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\AjaxControlToolkit.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\GMW_data.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\SteamWare.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\System.Web.Ajax.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\ICSharpCode.SharpZipLib.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\System.Web.Ajax.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\AjaxControlToolkit.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\GMW_data.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\SteamWare.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\SteamWare.xml
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\ar\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\cs\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\de\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\es\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\fr\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\he\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\hi\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\it\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\ja\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\ko\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\nl\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\pt\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\ru\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\tr-TR\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\zh-CHS\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\zh-CHT\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\ResolveAssemblyReference.cache
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\RdlCompile.cache
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\RdlCompile.compiled
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.pdb
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Generated
+581
@@ -47,6 +47,8 @@ namespace GMW_data {
|
||||
|
||||
private v_selDestinatariListePrelievoDataTable tablev_selDestinatariListePrelievo;
|
||||
|
||||
private stp_ricercaFullTerminalinoDataTable tablestp_ricercaFullTerminalino;
|
||||
|
||||
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -106,6 +108,9 @@ namespace GMW_data {
|
||||
if ((ds.Tables["v_selDestinatariListePrelievo"] != null)) {
|
||||
base.Tables.Add(new v_selDestinatariListePrelievoDataTable(ds.Tables["v_selDestinatariListePrelievo"]));
|
||||
}
|
||||
if ((ds.Tables["stp_ricercaFullTerminalino"] != null)) {
|
||||
base.Tables.Add(new stp_ricercaFullTerminalinoDataTable(ds.Tables["stp_ricercaFullTerminalino"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -223,6 +228,15 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
||||
public stp_ricercaFullTerminalinoDataTable stp_ricercaFullTerminalino {
|
||||
get {
|
||||
return this.tablestp_ricercaFullTerminalino;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.BrowsableAttribute(true)]
|
||||
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
|
||||
@@ -315,6 +329,9 @@ namespace GMW_data {
|
||||
if ((ds.Tables["v_selDestinatariListePrelievo"] != null)) {
|
||||
base.Tables.Add(new v_selDestinatariListePrelievoDataTable(ds.Tables["v_selDestinatariListePrelievo"]));
|
||||
}
|
||||
if ((ds.Tables["stp_ricercaFullTerminalino"] != null)) {
|
||||
base.Tables.Add(new stp_ricercaFullTerminalinoDataTable(ds.Tables["stp_ricercaFullTerminalino"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -411,6 +428,12 @@ namespace GMW_data {
|
||||
this.tablev_selDestinatariListePrelievo.InitVars();
|
||||
}
|
||||
}
|
||||
this.tablestp_ricercaFullTerminalino = ((stp_ricercaFullTerminalinoDataTable)(base.Tables["stp_ricercaFullTerminalino"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tablestp_ricercaFullTerminalino != null)) {
|
||||
this.tablestp_ricercaFullTerminalino.InitVars();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -442,6 +465,8 @@ namespace GMW_data {
|
||||
base.Tables.Add(this.tablev_selTipoDelibera);
|
||||
this.tablev_selDestinatariListePrelievo = new v_selDestinatariListePrelievoDataTable();
|
||||
base.Tables.Add(this.tablev_selDestinatariListePrelievo);
|
||||
this.tablestp_ricercaFullTerminalino = new stp_ricercaFullTerminalinoDataTable();
|
||||
base.Tables.Add(this.tablestp_ricercaFullTerminalino);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -499,6 +524,11 @@ namespace GMW_data {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private bool ShouldSerializestp_ricercaFullTerminalino() {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
|
||||
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
|
||||
@@ -574,6 +604,8 @@ namespace GMW_data {
|
||||
|
||||
public delegate void v_selDestinatariListePrelievoRowChangeEventHandler(object sender, v_selDestinatariListePrelievoRowChangeEvent e);
|
||||
|
||||
public delegate void stp_ricercaFullTerminalinoRowChangeEventHandler(object sender, stp_ricercaFullTerminalinoRowChangeEvent e);
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
@@ -3425,6 +3457,261 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class stp_ricercaFullTerminalinoDataTable : global::System.Data.TypedTableBase<stp_ricercaFullTerminalinoRow> {
|
||||
|
||||
private global::System.Data.DataColumn columnTipo;
|
||||
|
||||
private global::System.Data.DataColumn columnlabel;
|
||||
|
||||
private global::System.Data.DataColumn columnvalore;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public stp_ricercaFullTerminalinoDataTable() {
|
||||
this.TableName = "stp_ricercaFullTerminalino";
|
||||
this.BeginInit();
|
||||
this.InitClass();
|
||||
this.EndInit();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal stp_ricercaFullTerminalinoDataTable(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()]
|
||||
protected stp_ricercaFullTerminalinoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
||||
base(info, context) {
|
||||
this.InitVars();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.DataColumn TipoColumn {
|
||||
get {
|
||||
return this.columnTipo;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.DataColumn labelColumn {
|
||||
get {
|
||||
return this.columnlabel;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.DataColumn valoreColumn {
|
||||
get {
|
||||
return this.columnvalore;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
public int Count {
|
||||
get {
|
||||
return this.Rows.Count;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public stp_ricercaFullTerminalinoRow this[int index] {
|
||||
get {
|
||||
return ((stp_ricercaFullTerminalinoRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
public event stp_ricercaFullTerminalinoRowChangeEventHandler stp_ricercaFullTerminalinoRowChanging;
|
||||
|
||||
public event stp_ricercaFullTerminalinoRowChangeEventHandler stp_ricercaFullTerminalinoRowChanged;
|
||||
|
||||
public event stp_ricercaFullTerminalinoRowChangeEventHandler stp_ricercaFullTerminalinoRowDeleting;
|
||||
|
||||
public event stp_ricercaFullTerminalinoRowChangeEventHandler stp_ricercaFullTerminalinoRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void Addstp_ricercaFullTerminalinoRow(stp_ricercaFullTerminalinoRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public stp_ricercaFullTerminalinoRow Addstp_ricercaFullTerminalinoRow(string Tipo, string label, string valore) {
|
||||
stp_ricercaFullTerminalinoRow rowstp_ricercaFullTerminalinoRow = ((stp_ricercaFullTerminalinoRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
Tipo,
|
||||
label,
|
||||
valore};
|
||||
rowstp_ricercaFullTerminalinoRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowstp_ricercaFullTerminalinoRow);
|
||||
return rowstp_ricercaFullTerminalinoRow;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public override global::System.Data.DataTable Clone() {
|
||||
stp_ricercaFullTerminalinoDataTable cln = ((stp_ricercaFullTerminalinoDataTable)(base.Clone()));
|
||||
cln.InitVars();
|
||||
return cln;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override global::System.Data.DataTable CreateInstance() {
|
||||
return new stp_ricercaFullTerminalinoDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal void InitVars() {
|
||||
this.columnTipo = base.Columns["Tipo"];
|
||||
this.columnlabel = base.Columns["label"];
|
||||
this.columnvalore = base.Columns["valore"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitClass() {
|
||||
this.columnTipo = new global::System.Data.DataColumn("Tipo", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnTipo);
|
||||
this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnlabel);
|
||||
this.columnvalore = new global::System.Data.DataColumn("valore", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnvalore);
|
||||
this.columnTipo.ReadOnly = true;
|
||||
this.columnTipo.MaxLength = 11;
|
||||
this.columnlabel.ReadOnly = true;
|
||||
this.columnlabel.MaxLength = 50;
|
||||
this.columnvalore.ReadOnly = true;
|
||||
this.columnvalore.MaxLength = 50;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public stp_ricercaFullTerminalinoRow Newstp_ricercaFullTerminalinoRow() {
|
||||
return ((stp_ricercaFullTerminalinoRow)(this.NewRow()));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
||||
return new stp_ricercaFullTerminalinoRow(builder);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override global::System.Type GetRowType() {
|
||||
return typeof(stp_ricercaFullTerminalinoRow);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanged(e);
|
||||
if ((this.stp_ricercaFullTerminalinoRowChanged != null)) {
|
||||
this.stp_ricercaFullTerminalinoRowChanged(this, new stp_ricercaFullTerminalinoRowChangeEvent(((stp_ricercaFullTerminalinoRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanging(e);
|
||||
if ((this.stp_ricercaFullTerminalinoRowChanging != null)) {
|
||||
this.stp_ricercaFullTerminalinoRowChanging(this, new stp_ricercaFullTerminalinoRowChangeEvent(((stp_ricercaFullTerminalinoRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleted(e);
|
||||
if ((this.stp_ricercaFullTerminalinoRowDeleted != null)) {
|
||||
this.stp_ricercaFullTerminalinoRowDeleted(this, new stp_ricercaFullTerminalinoRowChangeEvent(((stp_ricercaFullTerminalinoRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleting(e);
|
||||
if ((this.stp_ricercaFullTerminalinoRowDeleting != null)) {
|
||||
this.stp_ricercaFullTerminalinoRowDeleting(this, new stp_ricercaFullTerminalinoRowChangeEvent(((stp_ricercaFullTerminalinoRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void Removestp_ricercaFullTerminalinoRow(stp_ricercaFullTerminalinoRow row) {
|
||||
this.Rows.Remove(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
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_Utility ds = new DS_Utility();
|
||||
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 = "stp_ricercaFullTerminalinoDataTable";
|
||||
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>
|
||||
@@ -4126,6 +4413,96 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
public partial class stp_ricercaFullTerminalinoRow : global::System.Data.DataRow {
|
||||
|
||||
private stp_ricercaFullTerminalinoDataTable tablestp_ricercaFullTerminalino;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal stp_ricercaFullTerminalinoRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tablestp_ricercaFullTerminalino = ((stp_ricercaFullTerminalinoDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public string Tipo {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablestp_ricercaFullTerminalino.TipoColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Tipo\' in table \'stp_ricercaFullTerminalino\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablestp_ricercaFullTerminalino.TipoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public string label {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablestp_ricercaFullTerminalino.labelColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'stp_ricercaFullTerminalino\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablestp_ricercaFullTerminalino.labelColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public string valore {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablestp_ricercaFullTerminalino.valoreColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'valore\' in table \'stp_ricercaFullTerminalino\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablestp_ricercaFullTerminalino.valoreColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool IsTipoNull() {
|
||||
return this.IsNull(this.tablestp_ricercaFullTerminalino.TipoColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void SetTipoNull() {
|
||||
this[this.tablestp_ricercaFullTerminalino.TipoColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool IslabelNull() {
|
||||
return this.IsNull(this.tablestp_ricercaFullTerminalino.labelColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void SetlabelNull() {
|
||||
this[this.tablestp_ricercaFullTerminalino.labelColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool IsvaloreNull() {
|
||||
return this.IsNull(this.tablestp_ricercaFullTerminalino.valoreColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void SetvaloreNull() {
|
||||
this[this.tablestp_ricercaFullTerminalino.valoreColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
@@ -4466,6 +4843,37 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
public class stp_ricercaFullTerminalinoRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private stp_ricercaFullTerminalinoRow eventRow;
|
||||
|
||||
private global::System.Data.DataRowAction eventAction;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public stp_ricercaFullTerminalinoRowChangeEvent(stp_ricercaFullTerminalinoRow row, global::System.Data.DataRowAction action) {
|
||||
this.eventRow = row;
|
||||
this.eventAction = action;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public stp_ricercaFullTerminalinoRow Row {
|
||||
get {
|
||||
return this.eventRow;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.DataRowAction Action {
|
||||
get {
|
||||
return this.eventAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace GMW_data.DS_UtilityTableAdapters {
|
||||
@@ -6834,6 +7242,179 @@ namespace GMW_data.DS_UtilityTableAdapters {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the connection and commands used to retrieve and save data.
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
[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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public partial class stp_ricercaFullTerminalinoTableAdapter : 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()]
|
||||
public stp_ricercaFullTerminalinoTableAdapter() {
|
||||
this.ClearBeforeFill = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
||||
get {
|
||||
if ((this._adapter == null)) {
|
||||
this.InitAdapter();
|
||||
}
|
||||
return this._adapter;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public 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()]
|
||||
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()]
|
||||
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
||||
get {
|
||||
if ((this._commandCollection == null)) {
|
||||
this.InitCommandCollection();
|
||||
}
|
||||
return this._commandCollection;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool ClearBeforeFill {
|
||||
get {
|
||||
return this._clearBeforeFill;
|
||||
}
|
||||
set {
|
||||
this._clearBeforeFill = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
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 = "stp_ricercaFullTerminalino";
|
||||
tableMapping.ColumnMappings.Add("Tipo", "Tipo");
|
||||
tableMapping.ColumnMappings.Add("label", "label");
|
||||
tableMapping.ColumnMappings.Add("valore", "valore");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
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()]
|
||||
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_ricercaFullTerminalino";
|
||||
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("@txtSearch", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
||||
public virtual int Fill(DS_Utility.stp_ricercaFullTerminalinoDataTable dataTable, string txtSearch) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((txtSearch == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(txtSearch));
|
||||
}
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
int returnValue = this.Adapter.Fill(dataTable);
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
||||
public virtual DS_Utility.stp_ricercaFullTerminalinoDataTable GetData(string txtSearch) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((txtSearch == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(txtSearch));
|
||||
}
|
||||
DS_Utility.stp_ricercaFullTerminalinoDataTable dataTable = new DS_Utility.stp_ricercaFullTerminalinoDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
||||
///</summary>
|
||||
|
||||
@@ -404,6 +404,27 @@ where conditio = @conditio</CommandText>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="stp_ricercaFullTerminalinoTableAdapter" GeneratorDataComponentClassName="stp_ricercaFullTerminalinoTableAdapter" Name="stp_ricercaFullTerminalino" UserDataComponentName="stp_ricercaFullTerminalinoTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_ricercaFullTerminalino" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_ricercaFullTerminalino</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@txtSearch" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="Tipo" DataSetColumn="Tipo" />
|
||||
<Mapping SourceColumn="label" DataSetColumn="label" />
|
||||
<Mapping SourceColumn="valore" DataSetColumn="valore" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -665,6 +686,33 @@ where conditio = @conditio</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="stp_ricercaFullTerminalino" msprop:Generator_UserTableName="stp_ricercaFullTerminalino" msprop:Generator_RowDeletedName="stp_ricercaFullTerminalinoRowDeleted" msprop:Generator_TableClassName="stp_ricercaFullTerminalinoDataTable" msprop:Generator_RowChangedName="stp_ricercaFullTerminalinoRowChanged" msprop:Generator_RowClassName="stp_ricercaFullTerminalinoRow" msprop:Generator_RowChangingName="stp_ricercaFullTerminalinoRowChanging" msprop:Generator_RowEvArgName="stp_ricercaFullTerminalinoRowChangeEvent" msprop:Generator_RowEvHandlerName="stp_ricercaFullTerminalinoRowChangeEventHandler" msprop:Generator_TablePropName="stp_ricercaFullTerminalino" msprop:Generator_TableVarName="tablestp_ricercaFullTerminalino" msprop:Generator_RowDeletingName="stp_ricercaFullTerminalinoRowDeleting">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Tipo" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Tipo" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="11" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="valore" msdata:ReadOnly="true" msprop:Generator_UserColumnName="valore" msprop:Generator_ColumnPropNameInRow="valore" msprop:Generator_ColumnVarNameInTable="columnvalore" msprop:Generator_ColumnPropNameInTable="valoreColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
|
||||
+12
-11
@@ -6,17 +6,18 @@
|
||||
</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="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:v_selMag" ZOrder="11" X="113" Y="114" Height="153" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selBlocco" ZOrder="10" X="552" Y="134" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:v_selTipoCella" ZOrder="9" X="716" Y="476" Height="191" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_getImpiantiByCodCS" ZOrder="8" X="199" Y="718" Height="172" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:STP" ZOrder="1" X="189" Y="415" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="7" X="703" Y="779" Height="153" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selStatiListe" ZOrder="6" X="949" Y="219" Height="115" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selTipoLista" ZOrder="5" X="1005" Y="684" Height="115" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selUdcByPart" ZOrder="4" X="1003" Y="426" Height="153" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selTipoDelibera" ZOrder="3" X="948" Y="56" Height="115" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selDestinatariListePrelievo" ZOrder="2" X="336" Y="97" Height="154" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:v_selMag" ZOrder="12" X="113" Y="114" Height="153" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selBlocco" ZOrder="11" X="552" Y="134" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:v_selTipoCella" ZOrder="10" X="716" Y="476" Height="191" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_getImpiantiByCodCS" ZOrder="9" X="339" Y="649" Height="172" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:STP" ZOrder="2" X="315" Y="378" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="8" X="703" Y="779" Height="153" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selStatiListe" ZOrder="7" X="949" Y="219" Height="115" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selTipoLista" ZOrder="6" X="1005" Y="684" Height="115" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selUdcByPart" ZOrder="5" X="1003" Y="426" Height="153" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:v_selTipoDelibera" ZOrder="4" X="948" Y="56" Height="115" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selDestinatariListePrelievo" ZOrder="3" X="336" Y="97" Height="154" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:stp_ricercaFullTerminalino" ZOrder="1" X="29" Y="393" Height="134" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user