public string moveMsg(string idList) { Tz888.BLL.LeaveMsg leaveMsgBll = new Tz888.BLL.LeaveMsg(); string[] s = idList.Split(','); for (int i = 0; i < s.Length; i++) { if (s[i].ToString() != "") { bool b = leaveMsgBll.RestoreLeaveMsg(Convert.ToInt32(s[i])); } } return("ok"); }