public bool ChangeSpell(int id, string spell) { CategoryItems item = new CategoryItems() { Id = id, IndexSpell = spell }; string sql = item.GetChangeSpellWord(); SqlCmdHelper helper = new SqlCmdHelper() { SqlConnString = SqlConnString }; return(helper.GenerateNoQuerySqlAndExcute(sql, item) > 0); }