Ejemplo n.º 1
0
        public int SearchMember(int MemberID, string DataTableName)
        {
            string  sql = "select * from tb_Member where MemberID=" + MemberID;
            DataSet da  = uclass.FindInfo(sql, DataTableName);
            string  pwd = da.Tables[0].Rows[0][4].ToString();
            int     i   = 0;

            if (pwd.Length == 0)
            {
                i = 0;
            }
            else
            {
                i = 1;
            }
            return(i);
        }