コード例 #1
0
 /// <summary>
 /// 修改一列数据
 /// </summary>
 public bool UpdateField(int id, string strValue)
 {
     if (dal.UpdateFile("id=" + id, strValue))
     {
         Model.article_category model = dal.Get(id);
         if (model != null)
         {
             SetCache(model);
         }
         return(true);
     }
     return(false);
 }