コード例 #1
0
 public string ToRecycle(string idList)
 {
     Tz888.BLL.InnerInfo infoBll = new Tz888.BLL.InnerInfo();
     string[]            s       = idList.Split(',');
     for (int i = 0; i < s.Length; i++)
     {
         if (s[i].Trim() != "")
         {
             bool b = infoBll.InfoVirtualDelete("huanglelou", Convert.ToInt32(s[i]), 0, "");
         }
     }
     return("ok");
 }
コード例 #2
0
    public string ToRecycle(string idList)
    {
        Tz888.BLL.InnerInfo infoBll = new Tz888.BLL.InnerInfo();
        string userName             = Page.User.Identity.Name;

        string[] s = idList.Split(',');
        for (int i = 0; i < s.Length; i++)
        {
            if (s[i].Trim() != "")
            {
                bool b = infoBll.InfoVirtualDelete(userName, Convert.ToInt32(s[i]), 1, "");
            }
        }
        return("ok");
    }