출력물 동적으로 데이터소스 연결 FOL 데이터 입력하여 출력 확인 - 매크로를 서로 공유하도록 함 , 매크로편집화면 변
This commit is contained in:
21
Project/dsEQ.Designer.cs
generated
21
Project/dsEQ.Designer.cs
generated
@@ -6583,7 +6583,7 @@ namespace Project.dsEQTableAdapters {
|
||||
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 = "SELECT pdate\r\nFROM EquipmentB\r\nGROUP BY pdate\r\norder by pdate";
|
||||
this._commandCollection[1].CommandText = "SELECT pdate FROM EquipmentB GROUP BY pdate ORDER BY pdate";
|
||||
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[2].Connection = this.Connection;
|
||||
@@ -10366,23 +10366,16 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate\r\nFROM EquipmentFil" +
|
||||
"ter\r\nWHERE (type = @type)\r\nORDER BY Title";
|
||||
"ter\r\nORDER BY Title";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@type", global::System.Data.SqlDbType.VarChar, 1, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
||||
public virtual int Fill(dsEQ.EquipmentFilterDataTable dataTable, string type) {
|
||||
public virtual int Fill(dsEQ.EquipmentFilterDataTable dataTable) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((type == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(type));
|
||||
}
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
@@ -10394,14 +10387,8 @@ SELECT idx, type, Title, Filter, Apply, memo, wuid, wdate FROM EquipmentFilter W
|
||||
[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 dsEQ.EquipmentFilterDataTable GetData(string type) {
|
||||
public virtual dsEQ.EquipmentFilterDataTable GetData() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((type == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(type));
|
||||
}
|
||||
dsEQ.EquipmentFilterDataTable dataTable = new dsEQ.EquipmentFilterDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
|
||||
Reference in New Issue
Block a user