コード例 #1
0
        public string GetPasswordByPhone(string phoneNumber)
        {
            UserQuery userQuery = new UserQuery(language);

            System.Data.DataTable dataTable = conn_db.ReadTable(userQuery.GetPasswordByPhoneNumber(phoneNumber));
            string password = "";

            if (dataTable.Rows.Count == 0)
            {
                throw new EmptyViewException(language);
            }


            password = dataTable.Rows[0][0].ToString();



            return(password);
        }