업무일지 테이블 연결 -

프로젝트 주간업무내용 편집창 연결 작업
This commit is contained in:
chikyun.kim
2019-03-11 23:18:47 +09:00
parent 9853bed403
commit 417e02a171
26 changed files with 2261 additions and 1922 deletions

View File

@@ -2198,12 +2198,18 @@ SELECT idx, project, cate, pdate, subject, tolist, bcc, cc, body, wuid, wdate FR
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[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 idx, project, cate, pdate, subject, tolist, bcc, cc, body, wuid, wdate\r\nF" +
"ROM MailData\r\nORDER BY pdate, cate";
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 idx, project, cate, pdate, subject, tolist, bcc, cc, body, wuid, wdate\r\nF" +
"ROM MailData\r\nwhere project = @project";
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2230,6 +2236,42 @@ SELECT idx, project, cate, pdate, subject, tolist, bcc, cc, body, wuid, wdate FR
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.Fill, false)]
public virtual int FillByProject(dsMail.MailDataDataTable dataTable, global::System.Nullable<int> project) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((project.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(project.Value));
}
else {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
}
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual dsMail.MailDataDataTable GetbyProject(global::System.Nullable<int> project) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((project.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(project.Value));
}
else {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
}
dsMail.MailDataDataTable dataTable = new dsMail.MailDataDataTable();
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")]