Example #1
0
        public bool TestRepeat(string missionName, string groupname, string id)
        {
            string sql = "select * from TimerMission where MissionName='" + missionName + "' and  GroupName='" + groupname +
                         "' and id!='" + id + "'";

            DataSet ds = DbHelper.GetDS(sql);

            return(ds != null && ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0);
        }