public bool Remove(int index)
 {
     if (mbtdal.Delete(index) > 0)
     {
         return(true);
     }
     return(false);
 }
Example #2
0
 /// <summary>
 /// 表示删除数据是否成功
 /// </summary>
 /// <param name="Id"></param>
 /// <returns></returns>
 public bool Remove(int Id)
 {
     return(dtiDal.Delete(Id) > 0);
 }