project 데이터 변경시 메일 발송 오류 수정

This commit is contained in:
chi
2025-04-09 11:15:18 +09:00
parent 8e76ee9692
commit a24f9be977
7 changed files with 481 additions and 484 deletions

View File

@@ -380,7 +380,8 @@ namespace FPJ0000
mbody.wuid = FCOMMON.info.Login.no;
mbody.wdate = DateTime.Now;
dtMdata.AddMailDataRow(mbody);
taMdata.Update(dtMdata);
var cnt = taMdata.Update(dtMdata);
if (cnt != 1) FCOMMON.Util.MsgE($"데이터 변경 수치가 1이 아닙니다 값:{cnt}");
}
catch (Exception ex)
{

View File

@@ -2515,19 +2515,27 @@ namespace FPJ0000.dsMailTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [MailData] ([project], [cate], [pdate], [subject], [tolist], [bcc], [cc], [body], [wuid], [wdate]) VALUES (@project, @cate, @pdate, @subject, @tolist, @bcc, @cc, @body, @wuid, @wdate);
SELECT idx, project, cate, pdate, subject, tolist, bcc, cc, body, wuid, wdate FROM MailData WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate, cate";
this._adapter.InsertCommand.CommandText = @"INSERT INTO [MailData] ([project], [gcode], [cate], [pdate], [subject], [fromlist], [tolist], [bcc], [cc], [body], [SendOK], [SendMsg], [aidx], [atime], [wuid], [wdate], [suid], [sdate]) VALUES (@project, @gcode, @cate, @pdate, @subject, @fromlist, @tolist, @bcc, @cc, @body, @SendOK, @SendMsg, @aidx, @atime, @wuid, @wdate, @suid, @sdate);
SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, body, SendOK, SendMsg, aidx, atime, wuid, wdate, suid, sdate FROM MailData WITH (nolock) WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate, cate";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@subject", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "subject", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fromlist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fromlist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tolist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tolist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bcc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bcc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@body", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "body", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SendOK", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SendOK", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SendMsg", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SendMsg", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@aidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "aidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@atime", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "atime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@suid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "suid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [MailData] SET [project] = @project, [gcode] = @gcode, [cate] = @cate, [pdate] = @pdate, [subject] = @subject, [fromlist] = @fromlist, [tolist] = @tolist, [bcc] = @bcc, [cc] = @cc, [body] = @body, [SendOK] = @SendOK, [SendMsg] = @SendMsg, [aidx] = @aidx, [atime] = @atime, [wuid] = @wuid, [wdate] = @wdate, [suid] = @suid, [sdate] = @sdate WHERE (([idx] = @Original_idx) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_SendOK = 1 AND [SendOK] IS NULL) OR ([SendOK] = @Original_SendOK)) AND ((@IsNull_SendMsg = 1 AND [SendMsg] IS NULL) OR ([SendMsg] = @Original_SendMsg)) AND ((@IsNull_aidx = 1 AND [aidx] IS NULL) OR ([aidx] = @Original_aidx)) AND ((@IsNull_atime = 1 AND [atime] IS NULL) OR ([atime] = @Original_atime)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_suid = 1 AND [suid] IS NULL) OR ([suid] = @Original_suid)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)));
@@ -2591,12 +2599,17 @@ SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, bod
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, bod" +
"y, SendOK, SendMsg, aidx, atime, wuid, wdate, suid, sdate\r\nFROM MailData WIT" +
"H (nolock)\r\nORDER BY pdate, cate";
"H (nolock)\r\nWHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed)\r\nORDER BY pd" +
"ate, cate";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
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 WITH (nolock)\r\nWHERE (project = @project)";
"ROM MailData WITH (nolock)\r\nWHERE (project = @project)\r\nORDER BY pdate, idx" +
"";
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, "", "", ""));
}
@@ -2605,8 +2618,26 @@ SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, bod
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.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(dsMail.MailDataDataTable dataTable) {
public virtual int Fill(dsMail.MailDataDataTable dataTable, string gcode, string sd, string ed) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((gcode == null)) {
throw new global::System.ArgumentNullException("gcode");
}
else {
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
}
if ((sd == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
}
if ((ed == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
}
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
@@ -2618,8 +2649,26 @@ SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, bod
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual dsMail.MailDataDataTable GetData() {
public virtual dsMail.MailDataDataTable GetData(string gcode, string sd, string ed) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((gcode == null)) {
throw new global::System.ArgumentNullException("gcode");
}
else {
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
}
if ((sd == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
}
if ((ed == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
}
dsMail.MailDataDataTable dataTable = new dsMail.MailDataDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
@@ -2801,62 +2850,128 @@ SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, bod
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(global::System.Nullable<int> project, string cate, string pdate, string subject, string tolist, string bcc, string cc, string body, string wuid, System.DateTime wdate) {
public virtual int Insert(
global::System.Nullable<int> project,
string gcode,
string cate,
string pdate,
string subject,
string fromlist,
string tolist,
string bcc,
string cc,
string body,
global::System.Nullable<bool> SendOK,
string SendMsg,
global::System.Nullable<int> aidx,
string atime,
string wuid,
System.DateTime wdate,
string suid,
global::System.Nullable<global::System.DateTime> sdate) {
if ((project.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(project.Value));
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
if ((cate == null)) {
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
if ((gcode == null)) {
throw new global::System.ArgumentNullException("gcode");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(cate));
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(gcode));
}
if ((pdate == null)) {
if ((cate == null)) {
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(pdate));
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(cate));
}
if ((subject == null)) {
if ((pdate == null)) {
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(subject));
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(pdate));
}
if ((tolist == null)) {
if ((subject == null)) {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(tolist));
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(subject));
}
if ((bcc == null)) {
if ((fromlist == null)) {
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(bcc));
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(fromlist));
}
if ((cc == null)) {
if ((tolist == null)) {
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(cc));
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(tolist));
}
if ((body == null)) {
if ((bcc == null)) {
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(body));
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(bcc));
}
if ((cc == null)) {
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(cc));
}
if ((body == null)) {
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(body));
}
if ((SendOK.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[10].Value = ((bool)(SendOK.Value));
}
else {
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
}
if ((SendMsg == null)) {
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[11].Value = ((string)(SendMsg));
}
if ((aidx.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[12].Value = ((int)(aidx.Value));
}
else {
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
}
if ((atime == null)) {
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[13].Value = ((string)(atime));
}
if ((wuid == null)) {
throw new global::System.ArgumentNullException("wuid");
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(wuid));
this.Adapter.InsertCommand.Parameters[14].Value = ((string)(wuid));
}
this.Adapter.InsertCommand.Parameters[15].Value = ((System.DateTime)(wdate));
if ((suid == null)) {
this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[16].Value = ((string)(suid));
}
if ((sdate.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[17].Value = ((System.DateTime)(sdate.Value));
}
else {
this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
}
this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(wdate));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {

View File

@@ -41,19 +41,27 @@
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [MailData] ([project], [cate], [pdate], [subject], [tolist], [bcc], [cc], [body], [wuid], [wdate]) VALUES (@project, @cate, @pdate, @subject, @tolist, @bcc, @cc, @body, @wuid, @wdate);
SELECT idx, project, cate, pdate, subject, tolist, bcc, cc, body, wuid, wdate FROM MailData WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate, cate</CommandText>
<CommandText>INSERT INTO [MailData] ([project], [gcode], [cate], [pdate], [subject], [fromlist], [tolist], [bcc], [cc], [body], [SendOK], [SendMsg], [aidx], [atime], [wuid], [wdate], [suid], [sdate]) VALUES (@project, @gcode, @cate, @pdate, @subject, @fromlist, @tolist, @bcc, @cc, @body, @SendOK, @SendMsg, @aidx, @atime, @wuid, @wdate, @suid, @sdate);
SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, body, SendOK, SendMsg, aidx, atime, wuid, wdate, suid, sdate FROM MailData WITH (nolock) WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate, cate</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@subject" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="subject" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fromlist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fromlist" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@tolist" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="tolist" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@bcc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="bcc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@cc" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="cc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@body" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="body" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SendOK" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SendOK" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SendMsg" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SendMsg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@aidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@atime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="atime" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@suid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="suid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@sdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="sdate" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
@@ -61,8 +69,13 @@ SELECT idx, project, cate, pdate, subject, tolist, bcc, cc, body, wuid, wdate FR
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, body, SendOK, SendMsg, aidx, atime, wuid, wdate, suid, sdate
FROM MailData WITH (nolock)
WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed)
ORDER BY pdate, cate</CommandText>
<Parameters />
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.MailData" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="sd" ColumnName="pdate" DataSourceName="EE.dbo.MailData" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@sd" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="ed" ColumnName="pdate" DataSourceName="EE.dbo.MailData" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@ed" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
<UpdateCommand>
@@ -143,7 +156,8 @@ SELECT idx, project, gcode, cate, pdate, subject, fromlist, tolist, bcc, cc, bod
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT idx, project, cate, pdate, subject, tolist, bcc, cc, body, wuid, wdate
FROM MailData WITH (nolock)
WHERE (project = @project)</CommandText>
WHERE (project = @project)
ORDER BY pdate, idx</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="project" ColumnName="project" DataSourceName="EE.dbo.MailData" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
@@ -335,44 +349,44 @@ SELECT idx, cate, title, tolist, bcc, cc, subject, tail, body, selfTo, selfCC, s
<xs:element name="prj_name" msprop:Generator_ColumnPropNameInTable="prj_nameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="prj_name" msprop:Generator_UserColumnName="prj_name" msprop:Generator_ColumnVarNameInTable="columnprj_name" type="xs:string" minOccurs="0" />
<xs:element name="prj_status" msprop:Generator_ColumnPropNameInTable="prj_statusColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="prj_status" msprop:Generator_UserColumnName="prj_status" msprop:Generator_ColumnVarNameInTable="columnprj_status" type="xs:string" minOccurs="0" />
<xs:element name="prj_ddate" msprop:Generator_ColumnPropNameInTable="prj_ddateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="prj_ddate" msprop:Generator_UserColumnName="prj_ddate" msprop:Generator_ColumnVarNameInTable="columnprj_ddate" type="xs:string" minOccurs="0" />
<xs:element name="gcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_UserColumnName="gcode">
<xs:element name="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="fromlist" msprop:Generator_ColumnPropNameInRow="fromlist" msprop:Generator_ColumnPropNameInTable="fromlistColumn" msprop:Generator_ColumnVarNameInTable="columnfromlist" msprop:Generator_UserColumnName="fromlist" minOccurs="0">
<xs:element name="fromlist" msprop:Generator_UserColumnName="fromlist" msprop:Generator_ColumnPropNameInTable="fromlistColumn" msprop:Generator_ColumnPropNameInRow="fromlist" msprop:Generator_ColumnVarNameInTable="columnfromlist" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SendOK" msprop:Generator_ColumnPropNameInRow="SendOK" msprop:Generator_ColumnPropNameInTable="SendOKColumn" msprop:Generator_ColumnVarNameInTable="columnSendOK" msprop:Generator_UserColumnName="SendOK" type="xs:boolean" minOccurs="0" />
<xs:element name="SendMsg" msprop:Generator_ColumnPropNameInRow="SendMsg" msprop:Generator_ColumnPropNameInTable="SendMsgColumn" msprop:Generator_ColumnVarNameInTable="columnSendMsg" msprop:Generator_UserColumnName="SendMsg" minOccurs="0">
<xs:element name="SendOK" msprop:Generator_UserColumnName="SendOK" msprop:Generator_ColumnPropNameInTable="SendOKColumn" msprop:Generator_ColumnPropNameInRow="SendOK" msprop:Generator_ColumnVarNameInTable="columnSendOK" type="xs:boolean" minOccurs="0" />
<xs:element name="SendMsg" msprop:Generator_UserColumnName="SendMsg" msprop:Generator_ColumnPropNameInTable="SendMsgColumn" msprop:Generator_ColumnPropNameInRow="SendMsg" msprop:Generator_ColumnVarNameInTable="columnSendMsg" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="aidx" msprop:Generator_ColumnPropNameInRow="aidx" msprop:Generator_ColumnPropNameInTable="aidxColumn" msprop:Generator_ColumnVarNameInTable="columnaidx" msprop:Generator_UserColumnName="aidx" type="xs:int" minOccurs="0" />
<xs:element name="atime" msprop:Generator_ColumnPropNameInRow="atime" msprop:Generator_ColumnPropNameInTable="atimeColumn" msprop:Generator_ColumnVarNameInTable="columnatime" msprop:Generator_UserColumnName="atime" minOccurs="0">
<xs:element name="aidx" msprop:Generator_UserColumnName="aidx" msprop:Generator_ColumnPropNameInTable="aidxColumn" msprop:Generator_ColumnPropNameInRow="aidx" msprop:Generator_ColumnVarNameInTable="columnaidx" type="xs:int" minOccurs="0" />
<xs:element name="atime" msprop:Generator_UserColumnName="atime" msprop:Generator_ColumnPropNameInTable="atimeColumn" msprop:Generator_ColumnPropNameInRow="atime" msprop:Generator_ColumnVarNameInTable="columnatime" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="suid" msprop:Generator_ColumnPropNameInRow="suid" msprop:Generator_ColumnPropNameInTable="suidColumn" msprop:Generator_ColumnVarNameInTable="columnsuid" msprop:Generator_UserColumnName="suid" minOccurs="0">
<xs:element name="suid" msprop:Generator_UserColumnName="suid" msprop:Generator_ColumnPropNameInTable="suidColumn" msprop:Generator_ColumnPropNameInRow="suid" msprop:Generator_ColumnVarNameInTable="columnsuid" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sdate" msprop:Generator_ColumnPropNameInRow="sdate" msprop:Generator_ColumnPropNameInTable="sdateColumn" msprop:Generator_ColumnVarNameInTable="columnsdate" msprop:Generator_UserColumnName="sdate" type="xs:dateTime" minOccurs="0" />
<xs:element name="sdate" msprop:Generator_UserColumnName="sdate" msprop:Generator_ColumnPropNameInTable="sdateColumn" msprop:Generator_ColumnPropNameInRow="sdate" msprop:Generator_ColumnVarNameInTable="columnsdate" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>

View File

@@ -6,7 +6,7 @@
</autogenerated>-->
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:MailData" ZOrder="2" X="419" Y="47" Height="286" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:MailData" ZOrder="2" X="419" Y="47" Height="514" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="427" />
<Shape ID="DesignTable:MailForm" ZOrder="1" X="187" Y="120" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
</Shapes>
<Connectors />

View File

@@ -30,16 +30,6 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMailSend));
FarPoint.Win.Spread.FlatFocusIndicatorRenderer flatFocusIndicatorRenderer1 = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer();
FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer1 = new FarPoint.Win.Spread.FlatScrollBarRenderer();
FarPoint.Win.Spread.FlatScrollBarRenderer flatScrollBarRenderer2 = new FarPoint.Win.Spread.FlatScrollBarRenderer();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMail = new FPJ0000.dsMail();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
@@ -68,8 +58,6 @@
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.prb1 = new System.Windows.Forms.ToolStripProgressBar();
this.taPrj = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.panel1 = new System.Windows.Forms.Panel();
this.arPanel3 = new arCtl.arPanel();
this.textBox2 = new System.Windows.Forms.TextBox();
@@ -93,8 +81,6 @@
this.cm1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.panel1.SuspendLayout();
this.arPanel3.SuspendLayout();
this.arPanel2.SuspendLayout();
@@ -112,6 +98,7 @@
// dsMail
//
this.dsMail.DataSetName = "dsMail";
this.dsMail.Namespace = "http://tempuri.org/dsMail.xsd";
this.dsMail.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// cm1
@@ -213,6 +200,7 @@
this.bn.Size = new System.Drawing.Size(1008, 25);
this.bn.TabIndex = 3;
this.bn.Text = "bindingNavigator1";
this.bn.RefreshItems += new System.EventHandler(this.bn_RefreshItems);
//
// bindingNavigatorAddNewItem
//
@@ -344,117 +332,6 @@
//
this.taPrj.ClearBeforeFill = true;
//
// fpSpread1
//
this.fpSpread1.AccessibleDescription = "fpSpread1, Sheet1";
this.fpSpread1.AutoFitColumnOptions = FarPoint.Win.Spread.PreferredSizeColumnOptions.IncludeAll;
this.fpSpread1.AutoFitRowOptions = FarPoint.Win.Spread.PreferredSizeRowOptions.IncludeAll;
this.fpSpread1.ContextMenuStrip = this.cm1;
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
this.fpSpread1.EditModeReplace = true;
this.fpSpread1.FocusRenderer = flatFocusIndicatorRenderer1;
this.fpSpread1.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.fpSpread1.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
this.fpSpread1.HorizontalScrollBar.Name = "";
flatScrollBarRenderer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.fpSpread1.HorizontalScrollBar.Renderer = flatScrollBarRenderer1;
this.fpSpread1.Location = new System.Drawing.Point(0, 0);
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1008, 216);
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2013;
this.fpSpread1.TabIndex = 4;
this.fpSpread1.TitleInfo.Text = "PartList";
this.fpSpread1.TitleInfo.Value = "PartList";
this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
this.fpSpread1.VerticalScrollBar.Name = "";
flatScrollBarRenderer2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.fpSpread1.VerticalScrollBar.Renderer = flatScrollBarRenderer2;
this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff);
//
// fpSpread1_Sheet1
//
this.fpSpread1_Sheet1.Reset();
this.fpSpread1_Sheet1.SheetName = "Sheet1";
// Formulas and custom names must be loaded with R1C1 reference style
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
this.fpSpread1_Sheet1.ColumnCount = 6;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.Parent = "ColumnFooterFlat";
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.Parent = "CornerFooterFlat";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "발송일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "*";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "상태";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "프로젝트";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "만료일";
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "ColumnHeaderFlat";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 36F;
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pdate";
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Label = "발송일";
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType2;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "project";
this.fpSpread1_Sheet1.Columns.Get(2).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(2).Width = 36F;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "prj_status";
this.fpSpread1_Sheet1.Columns.Get(3).Label = "상태";
this.fpSpread1_Sheet1.Columns.Get(4).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "prj_name";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "프로젝트";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 107F;
this.fpSpread1_Sheet1.Columns.Get(5).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "prj_ddate";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "만료일";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.Parent = "FilterBarFlat";
this.fpSpread1_Sheet1.FilterBarHeaderStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.FilterBarHeaderStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.FilterBarHeaderStyle.Parent = "FilterBarHeaderFlat";
this.fpSpread1_Sheet1.PrintInfo.Footer = "EET Groupware - Alpha -";
this.fpSpread1_Sheet1.PrintInfo.Header = "PartList";
noPrinterPrintInfo1.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148);
noPrinterPrintInfo1.HardMarginX = 0F;
noPrinterPrintInfo1.HardMarginY = 0F;
noPrinterPrintInfo1.SupportColor = true;
this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo1;
this.fpSpread1_Sheet1.PrintInfo.PdfSecurity = null;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.Parent = "RowHeaderFlat";
this.fpSpread1_Sheet1.SheetCornerStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.SheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.SheetCornerStyle.Parent = "CornerHeaderFlat";
this.fpSpread1_Sheet1.TitleInfo.Text = "Partlist";
this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist";
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// panel1
//
this.panel1.Controls.Add(this.arPanel3);
@@ -519,7 +396,6 @@
this.arLabel2.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194)))));
this.arLabel2.BorderSize = new System.Windows.Forms.Padding(0, 0, 0, 1);
this.arLabel2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel2.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel2.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel2.Enabled = false;
this.arLabel2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
@@ -533,6 +409,7 @@
this.arLabel2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel2.msg = null;
this.arLabel2.Name = "arLabel2";
this.arLabel2.ProgressBorderColor = System.Drawing.Color.Black;
this.arLabel2.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel2.ProgressEnable = false;
@@ -607,7 +484,6 @@
this.arLabel1.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194)))));
this.arLabel1.BorderSize = new System.Windows.Forms.Padding(0, 0, 0, 1);
this.arLabel1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel1.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel1.Enabled = false;
this.arLabel1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
@@ -621,6 +497,7 @@
this.arLabel1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel1.msg = null;
this.arLabel1.Name = "arLabel1";
this.arLabel1.ProgressBorderColor = System.Drawing.Color.Black;
this.arLabel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel1.ProgressEnable = false;
@@ -695,7 +572,6 @@
this.arLabel6.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194)))));
this.arLabel6.BorderSize = new System.Windows.Forms.Padding(0, 0, 0, 1);
this.arLabel6.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel6.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel6.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel6.Enabled = false;
this.arLabel6.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
@@ -709,6 +585,7 @@
this.arLabel6.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel6.msg = null;
this.arLabel6.Name = "arLabel6";
this.arLabel6.ProgressBorderColor = System.Drawing.Color.Black;
this.arLabel6.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel6.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel6.ProgressEnable = false;
@@ -732,7 +609,6 @@
//
// panel2
//
this.panel2.Controls.Add(this.fpSpread1);
this.panel2.Controls.Add(this.bn);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 0);
@@ -758,8 +634,9 @@
this.htmlEditor1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.htmlEditor1.DataBindings.Add(new System.Windows.Forms.Binding("Html", this.bs, "body", true));
this.htmlEditor1.Dock = System.Windows.Forms.DockStyle.Fill;
this.htmlEditor1.Html = resources.GetString("htmlEditor1.Html");
this.htmlEditor1.Html = "";
this.htmlEditor1.Location = new System.Drawing.Point(0, 91);
this.htmlEditor1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
this.htmlEditor1.Name = "htmlEditor1";
this.htmlEditor1.ReadOnly = true;
this.htmlEditor1.ShowToolbar = true;
@@ -775,7 +652,6 @@
this.arLabel4.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194)))));
this.arLabel4.BorderSize = new System.Windows.Forms.Padding(0, 0, 0, 1);
this.arLabel4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel4.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel4.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel4.Enabled = false;
this.arLabel4.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
@@ -789,6 +665,7 @@
this.arLabel4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel4.msg = null;
this.arLabel4.Name = "arLabel4";
this.arLabel4.ProgressBorderColor = System.Drawing.Color.Black;
this.arLabel4.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel4.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel4.ProgressEnable = false;
@@ -833,7 +710,6 @@
this.arLabel3.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(192)))), ((int)(((byte)(194)))));
this.arLabel3.BorderSize = new System.Windows.Forms.Padding(0, 0, 0, 1);
this.arLabel3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.arLabel3.Cursor = System.Windows.Forms.Cursors.Arrow;
this.arLabel3.Dock = System.Windows.Forms.DockStyle.Top;
this.arLabel3.Enabled = false;
this.arLabel3.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
@@ -847,6 +723,7 @@
this.arLabel3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.arLabel3.msg = null;
this.arLabel3.Name = "arLabel3";
this.arLabel3.ProgressBorderColor = System.Drawing.Color.Black;
this.arLabel3.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
this.arLabel3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
this.arLabel3.ProgressEnable = false;
@@ -889,7 +766,6 @@
this.MinimizeBox = false;
this.Name = "fMailSend";
this.Text = "프로젝트 진행 사항 메일발송";
this.UseFormSetting = false;
this.Load += new System.EventHandler(this.fPartList_Load);
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsMail)).EndInit();
@@ -897,8 +773,6 @@
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
this.bn.ResumeLayout(false);
this.bn.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.panel1.ResumeLayout(false);
this.arPanel3.ResumeLayout(false);
this.arPanel3.PerformLayout();

View File

@@ -201,7 +201,9 @@ namespace FPJ0000
try
{
this.ta.Fill(this.dsMail.MailData);
var sd = DateTime.Now.AddDays(-30).ToShortDateString();
var ed = DateTime.Now.ToShortDateString();
this.ta.Fill(this.dsMail.MailData,FCOMMON.info.Login.gcode,sd,ed);
}
catch (Exception ex)
@@ -440,5 +442,10 @@ namespace FPJ0000
"아웃룩의 설정이 정상인지 확인하세요");
}
}
private void bn_RefreshItems(object sender, EventArgs e)
{
}
}
}

View File

@@ -166,9 +166,6 @@
vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw==
</value>
</data>
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>81, 17</value>
</metadata>
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
@@ -289,17 +286,6 @@
<metadata name="taPrj.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>222, 17</value>
</metadata>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>449, 17</value>
</metadata>
<data name="htmlEditor1.Html" xml:space="preserve">
<value>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META content="text/html; charset=unicode" http-equiv=Content-Type&gt;
&lt;META name=GENERATOR content="MSHTML 11.00.10570.1001"&gt;&lt;/HEAD&gt;
&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</value>
</data>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>387, 17</value>
</metadata>