示例#1
0
        public void deleteMember(object sender, CommandEventArgs e) {
            int memid = 0;

            if (int.TryParse(e.CommandArgument.ToString(), out memid)) {
                cms.businesslogic.member.Member mem = new global::umbraco.cms.businesslogic.member.Member(memid);

                if (mem != null)
                    mem.delete();


                bindRp();
            }
        }
示例#2
0
        public void deleteMember(object sender, CommandEventArgs e)
        {
            int memid = 0;

            if (int.TryParse(e.CommandArgument.ToString(), out memid))
            {
                cms.businesslogic.member.Member mem = new global::umbraco.cms.businesslogic.member.Member(memid);

                if (mem != null)
                {
                    mem.delete();
                }


                bindRp();
            }
        }