<%--
--%>
diff --git a/C2P/StdCostList.aspx.cs b/C2P/StdCostList.aspx.cs
index 44998c2..1457d7a 100644
--- a/C2P/StdCostList.aspx.cs
+++ b/C2P/StdCostList.aspx.cs
@@ -12,11 +12,31 @@ namespace C2P
{
protected void Page_Load(object sender, EventArgs e)
{
- if (!Page.IsPostBack)
+ fixReport();
+ }
+
+ private void fixReport()
+ {
+ // se ho un valore data valido seleziono, altrimenti no...
+ if (ddlData.SelectedValue != "")
{
// imposto iframe! con tutti i possibili valori di URL
- repView.Src = string.Format(@"{0}/StdCostList.aspx?DataRif={1}&lingua={2}", memLayer.ML.confReadString("reportsUrl"), Request.QueryString["DataRif"], user_std.UtSn.lingua);
+ repView.Src = string.Format(@"{0}/StdCostList.aspx?DataRif={1}&lingua={2}", memLayer.ML.confReadString("reportsUrl"), ddlData.SelectedValue, user_std.UtSn.lingua);
+ repView.Visible = true;
}
+ else
+ {
+ repView.Visible = false;
+ }
+ }
+ ///
+ /// cambio data visualizzata
+ ///
+ ///
+ ///
+ protected void ddlData_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ fixReport();
}
}
}
\ No newline at end of file
diff --git a/C2P/StdCostList.aspx.designer.cs b/C2P/StdCostList.aspx.designer.cs
index e035d1c..be1aa36 100644
--- a/C2P/StdCostList.aspx.designer.cs
+++ b/C2P/StdCostList.aspx.designer.cs
@@ -12,6 +12,24 @@ namespace C2P {
public partial class StdCostList {
+ ///
+ /// ddlData control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlData;
+
+ ///
+ /// odsDate control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsDate;
+
///
/// repView control.
///
diff --git a/C2P/bin/C2P.dll b/C2P/bin/C2P.dll
index 3de59b1..491e893 100644
Binary files a/C2P/bin/C2P.dll and b/C2P/bin/C2P.dll differ
diff --git a/C2P/bin/C2P_Data.dll b/C2P/bin/C2P_Data.dll
index 40d5936..ee5bb1a 100644
Binary files a/C2P/bin/C2P_Data.dll and b/C2P/bin/C2P_Data.dll differ
diff --git a/C2P/bin/SteamWare.dll b/C2P/bin/SteamWare.dll
index b426298..f249e3b 100644
Binary files a/C2P/bin/SteamWare.dll and b/C2P/bin/SteamWare.dll differ
diff --git a/C2P_Data/DS_Quotes.Designer.cs b/C2P_Data/DS_Quotes.Designer.cs
index 9d016b5..19e8baf 100644
--- a/C2P_Data/DS_Quotes.Designer.cs
+++ b/C2P_Data/DS_Quotes.Designer.cs
@@ -7662,7 +7662,7 @@ namespace C2P_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public StdCostListRow AddStdCostListRow(System.DateTime DataRif, string Class01, string Class02, string CodItem, string RawMat, string CodPlant, string CodDiesGroup, string CodPackag, int batchQty, string CodInco, decimal RawMatFullCost, int FVC, int FullCost) {
+ public StdCostListRow AddStdCostListRow(System.DateTime DataRif, string Class01, string Class02, string CodItem, string RawMat, string CodPlant, string CodDiesGroup, string CodPackag, int batchQty, string CodInco, decimal RawMatFullCost, decimal FVC, decimal FullCost) {
StdCostListRow rowStdCostListRow = ((StdCostListRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
DataRif,
@@ -7740,9 +7740,9 @@ namespace C2P_Data {
base.Columns.Add(this.columnCodInco);
this.columnRawMatFullCost = new global::System.Data.DataColumn("RawMatFullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRawMatFullCost);
- this.columnFVC = new global::System.Data.DataColumn("FVC", typeof(int), null, global::System.Data.MappingType.Element);
+ this.columnFVC = new global::System.Data.DataColumn("FVC", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFVC);
- this.columnFullCost = new global::System.Data.DataColumn("FullCost", typeof(int), null, global::System.Data.MappingType.Element);
+ this.columnFullCost = new global::System.Data.DataColumn("FullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFullCost);
this.columnDataRif.ReadOnly = true;
this.columnClass01.AllowDBNull = false;
@@ -7751,20 +7751,27 @@ namespace C2P_Data {
this.columnClass02.MaxLength = 50;
this.columnCodItem.AllowDBNull = false;
this.columnCodItem.MaxLength = 50;
+ this.columnRawMat.AllowDBNull = false;
this.columnRawMat.ReadOnly = true;
this.columnRawMat.MaxLength = 50;
+ this.columnCodPlant.AllowDBNull = false;
this.columnCodPlant.ReadOnly = true;
this.columnCodPlant.MaxLength = 1;
+ this.columnCodDiesGroup.AllowDBNull = false;
this.columnCodDiesGroup.ReadOnly = true;
this.columnCodDiesGroup.MaxLength = 1;
+ this.columnCodPackag.AllowDBNull = false;
this.columnCodPackag.ReadOnly = true;
this.columnCodPackag.MaxLength = 1;
+ this.columnbatchQty.AllowDBNull = false;
this.columnbatchQty.ReadOnly = true;
+ this.columnCodInco.AllowDBNull = false;
this.columnCodInco.ReadOnly = true;
this.columnCodInco.MaxLength = 3;
+ this.columnRawMatFullCost.AllowDBNull = false;
this.columnRawMatFullCost.ReadOnly = true;
- this.columnFVC.ReadOnly = true;
- this.columnFullCost.ReadOnly = true;
+ this.columnFVC.AllowDBNull = false;
+ this.columnFullCost.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12952,12 +12959,7 @@ namespace C2P_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RawMat {
get {
- try {
- return ((string)(this[this.tableStdCostList.RawMatColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'RawMat\' in table \'StdCostList\' is DBNull.", e);
- }
+ return ((string)(this[this.tableStdCostList.RawMatColumn]));
}
set {
this[this.tableStdCostList.RawMatColumn] = value;
@@ -12968,12 +12970,7 @@ namespace C2P_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodPlant {
get {
- try {
- return ((string)(this[this.tableStdCostList.CodPlantColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodPlant\' in table \'StdCostList\' is DBNull.", e);
- }
+ return ((string)(this[this.tableStdCostList.CodPlantColumn]));
}
set {
this[this.tableStdCostList.CodPlantColumn] = value;
@@ -12984,12 +12981,7 @@ namespace C2P_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodDiesGroup {
get {
- try {
- return ((string)(this[this.tableStdCostList.CodDiesGroupColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodDiesGroup\' in table \'StdCostList\' is DBNull.", e);
- }
+ return ((string)(this[this.tableStdCostList.CodDiesGroupColumn]));
}
set {
this[this.tableStdCostList.CodDiesGroupColumn] = value;
@@ -13000,12 +12992,7 @@ namespace C2P_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodPackag {
get {
- try {
- return ((string)(this[this.tableStdCostList.CodPackagColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodPackag\' in table \'StdCostList\' is DBNull.", e);
- }
+ return ((string)(this[this.tableStdCostList.CodPackagColumn]));
}
set {
this[this.tableStdCostList.CodPackagColumn] = value;
@@ -13016,12 +13003,7 @@ namespace C2P_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int batchQty {
get {
- try {
- return ((int)(this[this.tableStdCostList.batchQtyColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'batchQty\' in table \'StdCostList\' is DBNull.", e);
- }
+ return ((int)(this[this.tableStdCostList.batchQtyColumn]));
}
set {
this[this.tableStdCostList.batchQtyColumn] = value;
@@ -13032,12 +13014,7 @@ namespace C2P_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CodInco {
get {
- try {
- return ((string)(this[this.tableStdCostList.CodIncoColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CodInco\' in table \'StdCostList\' is DBNull.", e);
- }
+ return ((string)(this[this.tableStdCostList.CodIncoColumn]));
}
set {
this[this.tableStdCostList.CodIncoColumn] = value;
@@ -13048,12 +13025,7 @@ namespace C2P_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal RawMatFullCost {
get {
- try {
- return ((decimal)(this[this.tableStdCostList.RawMatFullCostColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'RawMatFullCost\' in table \'StdCostList\' is DBNull.", e);
- }
+ return ((decimal)(this[this.tableStdCostList.RawMatFullCostColumn]));
}
set {
this[this.tableStdCostList.RawMatFullCostColumn] = value;
@@ -13062,14 +13034,9 @@ namespace C2P_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int FVC {
+ public decimal FVC {
get {
- try {
- return ((int)(this[this.tableStdCostList.FVCColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'FVC\' in table \'StdCostList\' is DBNull.", e);
- }
+ return ((decimal)(this[this.tableStdCostList.FVCColumn]));
}
set {
this[this.tableStdCostList.FVCColumn] = value;
@@ -13078,14 +13045,9 @@ namespace C2P_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int FullCost {
+ public decimal FullCost {
get {
- try {
- return ((int)(this[this.tableStdCostList.FullCostColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'FullCost\' in table \'StdCostList\' is DBNull.", e);
- }
+ return ((decimal)(this[this.tableStdCostList.FullCostColumn]));
}
set {
this[this.tableStdCostList.FullCostColumn] = value;
@@ -13103,114 +13065,6 @@ namespace C2P_Data {
public void SetDataRifNull() {
this[this.tableStdCostList.DataRifColumn] = global::System.Convert.DBNull;
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsRawMatNull() {
- return this.IsNull(this.tableStdCostList.RawMatColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetRawMatNull() {
- this[this.tableStdCostList.RawMatColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsCodPlantNull() {
- return this.IsNull(this.tableStdCostList.CodPlantColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetCodPlantNull() {
- this[this.tableStdCostList.CodPlantColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsCodDiesGroupNull() {
- return this.IsNull(this.tableStdCostList.CodDiesGroupColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetCodDiesGroupNull() {
- this[this.tableStdCostList.CodDiesGroupColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsCodPackagNull() {
- return this.IsNull(this.tableStdCostList.CodPackagColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetCodPackagNull() {
- this[this.tableStdCostList.CodPackagColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsbatchQtyNull() {
- return this.IsNull(this.tableStdCostList.batchQtyColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetbatchQtyNull() {
- this[this.tableStdCostList.batchQtyColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsCodIncoNull() {
- return this.IsNull(this.tableStdCostList.CodIncoColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetCodIncoNull() {
- this[this.tableStdCostList.CodIncoColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsRawMatFullCostNull() {
- return this.IsNull(this.tableStdCostList.RawMatFullCostColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetRawMatFullCostNull() {
- this[this.tableStdCostList.RawMatFullCostColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsFVCNull() {
- return this.IsNull(this.tableStdCostList.FVCColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetFVCNull() {
- this[this.tableStdCostList.FVCColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsFullCostNull() {
- return this.IsNull(this.tableStdCostList.FullCostColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetFullCostNull() {
- this[this.tableStdCostList.FullCostColumn] = global::System.Convert.DBNull;
- }
}
///
@@ -22372,12 +22226,17 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
[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 = new global::System.Data.SqlClient.SqlCommand[2];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT DataRif, Class01, Class02, CodItem, RawMat, CodPlant, CodDiesGroup, CodPac" +
- "kag, batchQty, CodInco, RawMatFullCost, FVC, FullCost FROM dbo.v_StdCostList";
+ this._commandCollection[0].CommandText = "SELECT * FROM v_StdCostList";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_QLR_getByDate";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -22403,6 +22262,23 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
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")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Quotes.StdCostListDataTable getByDate(global::System.Nullable DataRif) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((DataRif.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(DataRif.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ DS_Quotes.StdCostListDataTable dataTable = new DS_Quotes.StdCostListDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
}
///
diff --git a/C2P_Data/DS_Quotes.xsd b/C2P_Data/DS_Quotes.xsd
index 5d5ed6f..cbc88aa 100644
--- a/C2P_Data/DS_Quotes.xsd
+++ b/C2P_Data/DS_Quotes.xsd
@@ -1799,10 +1799,10 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
-
+
-
- SELECT DataRif, Class01, Class02, CodItem, RawMat, CodPlant, CodDiesGroup, CodPackag, batchQty, CodInco, RawMatFullCost, FVC, FullCost FROM dbo.v_StdCostList
+
+ SELECT * FROM v_StdCostList
@@ -1823,7 +1823,19 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
-
+
+
+
+
+ dbo.stp_QLR_getByDate
+
+
+
+
+
+
+
+
@@ -2704,45 +2716,45 @@ SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraSer
-
+
-
+
-
+
-
+
-
-
+
+
-
-
-
+
+
+
diff --git a/C2P_Data/DS_Quotes.xss b/C2P_Data/DS_Quotes.xss
index 2a3bfb5..7355b9d 100644
--- a/C2P_Data/DS_Quotes.xss
+++ b/C2P_Data/DS_Quotes.xss
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
@@ -15,7 +15,7 @@
-
+
diff --git a/C2P_Data/DS_Utility.xsd b/C2P_Data/DS_Utility.xsd
index 5436a95..5f1dec5 100644
--- a/C2P_Data/DS_Utility.xsd
+++ b/C2P_Data/DS_Utility.xsd
@@ -423,6 +423,22 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
+
+
+
+
+
+ SELECT DataRif FROM dbo.v_dateStdCostList
+
+
+
+
+
+
+
+
+
+
@@ -673,6 +689,13 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
+
+
+
+
+
+
+
diff --git a/C2P_Data/DS_Utility.xss b/C2P_Data/DS_Utility.xss
index 093a416..317f20f 100644
--- a/C2P_Data/DS_Utility.xss
+++ b/C2P_Data/DS_Utility.xss
@@ -4,21 +4,22 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/C2P_Data/DS_Utility1.Designer.cs b/C2P_Data/DS_Utility1.Designer.cs
index e1484ca..879fa4e 100644
--- a/C2P_Data/DS_Utility1.Designer.cs
+++ b/C2P_Data/DS_Utility1.Designer.cs
@@ -50,6 +50,8 @@ namespace C2P_Data {
private v_MarginReportStatsNewDataDataTable tablev_MarginReportStatsNewData;
+ private v_dateStdCostListDataTable tablev_dateStdCostList;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -117,6 +119,9 @@ namespace C2P_Data {
if ((ds.Tables["v_MarginReportStatsNewData"] != null)) {
base.Tables.Add(new v_MarginReportStatsNewDataDataTable(ds.Tables["v_MarginReportStatsNewData"]));
}
+ if ((ds.Tables["v_dateStdCostList"] != null)) {
+ base.Tables.Add(new v_dateStdCostListDataTable(ds.Tables["v_dateStdCostList"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -265,6 +270,16 @@ namespace C2P_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 v_dateStdCostListDataTable v_dateStdCostList {
+ get {
+ return this.tablev_dateStdCostList;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -371,6 +386,9 @@ namespace C2P_Data {
if ((ds.Tables["v_MarginReportStatsNewData"] != null)) {
base.Tables.Add(new v_MarginReportStatsNewDataDataTable(ds.Tables["v_MarginReportStatsNewData"]));
}
+ if ((ds.Tables["v_dateStdCostList"] != null)) {
+ base.Tables.Add(new v_dateStdCostListDataTable(ds.Tables["v_dateStdCostList"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -482,6 +500,12 @@ namespace C2P_Data {
this.tablev_MarginReportStatsNewData.InitVars();
}
}
+ this.tablev_dateStdCostList = ((v_dateStdCostListDataTable)(base.Tables["v_dateStdCostList"]));
+ if ((initTable == true)) {
+ if ((this.tablev_dateStdCostList != null)) {
+ this.tablev_dateStdCostList.InitVars();
+ }
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -518,6 +542,8 @@ namespace C2P_Data {
base.Tables.Add(this.tableOrderHist);
this.tablev_MarginReportStatsNewData = new v_MarginReportStatsNewDataDataTable();
base.Tables.Add(this.tablev_MarginReportStatsNewData);
+ this.tablev_dateStdCostList = new v_dateStdCostListDataTable();
+ base.Tables.Add(this.tablev_dateStdCostList);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -598,6 +624,12 @@ namespace C2P_Data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializev_dateStdCostList() {
+ 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) {
@@ -692,6 +724,9 @@ namespace C2P_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void v_MarginReportStatsNewDataRowChangeEventHandler(object sender, v_MarginReportStatsNewDataRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void v_dateStdCostListRowChangeEventHandler(object sender, v_dateStdCostListRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -4393,6 +4428,254 @@ namespace C2P_Data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class v_dateStdCostListDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnDataRif;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_dateStdCostListDataTable() {
+ this.TableName = "v_dateStdCostList";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal v_dateStdCostListDataTable(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 v_dateStdCostListDataTable(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 DataRifColumn {
+ get {
+ return this.columnDataRif;
+ }
+ }
+
+ [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 v_dateStdCostListRow this[int index] {
+ get {
+ return ((v_dateStdCostListRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_dateStdCostListRowChangeEventHandler v_dateStdCostListRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_dateStdCostListRowChangeEventHandler v_dateStdCostListRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_dateStdCostListRowChangeEventHandler v_dateStdCostListRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_dateStdCostListRowChangeEventHandler v_dateStdCostListRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Addv_dateStdCostListRow(v_dateStdCostListRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_dateStdCostListRow Addv_dateStdCostListRow(System.DateTime DataRif) {
+ v_dateStdCostListRow rowv_dateStdCostListRow = ((v_dateStdCostListRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ DataRif};
+ rowv_dateStdCostListRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowv_dateStdCostListRow);
+ return rowv_dateStdCostListRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ v_dateStdCostListDataTable cln = ((v_dateStdCostListDataTable)(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 v_dateStdCostListDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnDataRif = base.Columns["DataRif"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataRif);
+ this.columnDataRif.ReadOnly = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_dateStdCostListRow Newv_dateStdCostListRow() {
+ return ((v_dateStdCostListRow)(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 v_dateStdCostListRow(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(v_dateStdCostListRow);
+ }
+
+ [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.v_dateStdCostListRowChanged != null)) {
+ this.v_dateStdCostListRowChanged(this, new v_dateStdCostListRowChangeEvent(((v_dateStdCostListRow)(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.v_dateStdCostListRowChanging != null)) {
+ this.v_dateStdCostListRowChanging(this, new v_dateStdCostListRowChangeEvent(((v_dateStdCostListRow)(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.v_dateStdCostListRowDeleted != null)) {
+ this.v_dateStdCostListRowDeleted(this, new v_dateStdCostListRowChangeEvent(((v_dateStdCostListRow)(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.v_dateStdCostListRowDeleting != null)) {
+ this.v_dateStdCostListRowDeleting(this, new v_dateStdCostListRowChangeEvent(((v_dateStdCostListRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Removev_dateStdCostListRow(v_dateStdCostListRow 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_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 = "v_dateStdCostListDataTable";
+ 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;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -5366,6 +5649,49 @@ namespace C2P_Data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class v_dateStdCostListRow : global::System.Data.DataRow {
+
+ private v_dateStdCostListDataTable tablev_dateStdCostList;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal v_dateStdCostListRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablev_dateStdCostList = ((v_dateStdCostListDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataRif {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablev_dateStdCostList.DataRifColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'v_dateStdCostList\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_dateStdCostList.DataRifColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsDataRifNull() {
+ return this.IsNull(this.tablev_dateStdCostList.DataRifColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetDataRifNull() {
+ this[this.tablev_dateStdCostList.DataRifColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -5807,6 +6133,40 @@ namespace C2P_Data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class v_dateStdCostListRowChangeEvent : global::System.EventArgs {
+
+ private v_dateStdCostListRow 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 v_dateStdCostListRowChangeEvent(v_dateStdCostListRow 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 v_dateStdCostListRow 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 C2P_Data.DS_UtilityTableAdapters {
@@ -8627,6 +8987,173 @@ SELECT Ticket, Report, Chiave, UserReq, DataReq, DataPrint FROM ReportPrintTicke
}
}
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [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 v_dateStdCostListTableAdapter : 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 v_dateStdCostListTableAdapter() {
+ 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 = "v_dateStdCostList";
+ tableMapping.ColumnMappings.Add("DataRif", "DataRif");
+ 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::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString;
+ }
+
+ [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 = "SELECT DataRif FROM dbo.v_dateStdCostList";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ }
+
+ [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_Utility.v_dateStdCostListDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ 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_Utility.v_dateStdCostListDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Utility.v_dateStdCostListDataTable dataTable = new DS_Utility.v_dateStdCostListDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
diff --git a/C2P_Data/bin/Release/C2P_Data.dll b/C2P_Data/bin/Release/C2P_Data.dll
index 259da85..d896707 100644
Binary files a/C2P_Data/bin/Release/C2P_Data.dll and b/C2P_Data/bin/Release/C2P_Data.dll differ
diff --git a/C2P_Report/bin/C2P_Data.dll b/C2P_Report/bin/C2P_Data.dll
index 40d5936..ee5bb1a 100644
Binary files a/C2P_Report/bin/C2P_Data.dll and b/C2P_Report/bin/C2P_Data.dll differ
diff --git a/C2P_Report/bin/C2P_Report.dll b/C2P_Report/bin/C2P_Report.dll
index ddf3459..5c36af1 100644
Binary files a/C2P_Report/bin/C2P_Report.dll and b/C2P_Report/bin/C2P_Report.dll differ
diff --git a/C2P_Report/bin/SteamWare.dll b/C2P_Report/bin/SteamWare.dll
index b426298..f249e3b 100644
Binary files a/C2P_Report/bin/SteamWare.dll and b/C2P_Report/bin/SteamWare.dll differ