/// <summary> /// 更新数据库的值 /// </summary> /// <param name="UniqueID"></param> /// <returns></returns> public static int UpdateUnique(int UniqueID) { SQLHelper sqlLocal = new Utility.SQLHelper(""); string sql = string.Format("UPDATE [{0}].[dbo].[UNIQUE] SET UniqueID = @UniqueID", ""); SqlParameter[] sqlParams = new SqlParameter[1] { new SqlParameter("@UniqueID", UniqueID) }; int reflect = sqlLocal.ExecuteSql(sql, sqlParams); return(reflect); }