示例#1
0
        public static string RemMaq(string id)
        {
            try
            {
                DAO dao = new DAO();

                int rtn = dao.RemMaq(Convert.ToInt32(id));

                if (rtn > 0)
                    return "True";
                else if (rtn == -1)
                    return "False1";
                else
                    return "False2";
            }
            catch (Exception ex)
            {
                return ex.Message;
            }
        }