/// <summary> /// 更新友情链接 /// </summary> /// <param name="link"></param> /// <returns></returns> public static int UpdateLink(UpdateLinkType linkType,int linkOrder, int linkID) { return friendLink.UpdateLink(linkType,linkOrder, linkID); }
/// <summary> /// 更新友情链接 /// </summary> /// <param name="item"></param> /// <returns></returns> public int UpdateLink(UpdateLinkType linkType,int LinkOrder, int linkID) { SqlHelper objSqlHelper = new SqlHelper(); SqlParameter[] objParams = new SqlParameter[2]; objParams[0] = new SqlParameter("@LinkID", linkID); objParams[1] = new SqlParameter("@linkOrder", LinkOrder); return objSqlHelper.ExecuteNonQuery("je_Link_UpdateLinkOrder", objParams); }