//string SelSQL = @"SELECT PrintTemplateText FROM Cust_PrintTemplateText WHERE PrintTemplateTypeName='" + this.DropDownList_Notices.Text + "'";
//DataSet SelSQLDs = new DataSet();
//UFSoft.UBF.Util.DataAccess.DataAccessor.RunSQL(UFSoft.UBF.Util.DataAccess.DataAccessor.GetConn(), SelSQL.ToString(), null, out SelSQLDs);
//DataTable dt = new DataTable();
//dt = SelSQLDs.Tables[0];
//if (dt.Rows.Count < 1)
//{
// throw new Exception("配置表Cust_PrintTemplateText中不存在对应信息,请先维护");
//}
if(this.DropDownList_Notices.Text=="英文模板")
{
this.MailText53.Text="Dear Supplier:"+"\r\n"+"Please refer to the New PO, Confirm it within today and feedback the delivery date within 2 Days,Thanks."
this.MailText53.Text="Dear Supplier:"+"\r\n"+"Please refer to the New PO, Confirm it within today and feedback the delivery date within 2 Days,Thanks."
+"\r\n"+"Best Regards"+"\r\n"+"The information contained in this message is confidential and may be "+
+"\r\n"+"Best Regards"+"\r\n"+"The information contained in this message is confidential and may be "+
"legally privileged. The message is intended solely for the addressee(s). "+
"legally privileged. The message is intended solely for the addressee(s). "+
"If you are not the intended recipient, you are hereby notified that any use,dissemination "+
"If you are not the intended recipient, you are hereby notified that any use,dissemination "+
"or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, "+
"or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, "+
"please contact the sender by return e-mail and destroy all copies of the original message.";
"please contact the sender by return e-mail and destroy all copies of the original message.";
}
else
{
stringSelSQL=@"SELECT PrintTemplateText FROM Cust_PrintTemplateText WHERE PrintTemplateTypeName='"+this.DropDownList_Notices.Text+"'";
this.MailText53.Text="Dear Supplier:"+"\r\n"+"Please refer to the New PO, Confirm it within today and feedback the delivery date within 2 Days,Thanks."
this.MailText53.Text="Dear Supplier:"+"\r\n"+"Please refer to the New PO, Confirm it within today and feedback the delivery date within 2 Days,Thanks."
+"\r\n"+"Best Regards"+"\r\n"+"The information contained in this message is confidential and may be "+
+"\r\n"+"Best Regards"+"\r\n"+"The information contained in this message is confidential and may be "+
"legally privileged. The message is intended solely for the addressee(s). "+
"legally privileged. The message is intended solely for the addressee(s). "+
"If you are not the intended recipient, you are hereby notified that any use,dissemination "+
"If you are not the intended recipient, you are hereby notified that any use,dissemination "+
"or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, "+
"or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, "+
"please contact the sender by return e-mail and destroy all copies of the original message.";
"please contact the sender by return e-mail and destroy all copies of the original message.";
}
else
{
stringSelSQL=@"SELECT PrintTemplateText FROM Cust_PrintTemplateText WHERE PrintTemplateTypeName='"+this.DropDownList_Notices.Text+"'";