Ejemplo n.º 1
0
        public static string DelFee(string fid)
        {
            string              r   = "";
            Sys_AgentFeeBll     srb = new Sys_AgentFeeBll();
            SessionUserValidate iv  = SysValidateBll.ValidateSession();

            if (iv.f)
            {
                if (srb.Delete(" and id=" + fid + ""))
                {
                    r = "S";
                }
                else
                {
                    r = "F";
                }
            }
            else
            {
                r = iv.badstr;
            }
            return(r);
        }