Exemple #1
0
        protected void btn_Search_Click(object sender, EventArgs e)
        {
            cloud.m_FindPWD(txt_Email.Text);
            DataTable dt = cloud.dsReturn.Tables[0];

            if (dt.Rows.Count > 0)
            {
                strTel   = dt.Rows[0]["HP"].ToString();
                strPass  = dt.Rows[0]["UserPwd"].ToString();
                strEmail = dt.Rows[0]["Email"].ToString();
                if (strTel == txt_strTel_Confirm.Text && strEmail == txt_Email.Text)
                {
                    SendMail();
                }
                else
                {
                    lbl_Text.Text = "이메일과 연락처가 일치하지 않습니다!";
                }
            }
            else
            {
                lbl_Text.Text = "이메일과 연락처가 일치하는 정보가 없습니다!";
            }
        }