public bool UpdateKeyword(Keyword oldKeyword, string newKeyword) { string sSQL = "UPDATE St_Keywords SET KeywordName = '" + newKeyword + "' WHERE KeywordName = '" + oldKeyword.KeywordName + "'"; return(m_oDBConn.ExecuteNonQuery(sSQL)); }
public bool DeleteKeyword(Keyword Name) { string sSQL = "DELETE FROM St_Keywords WHERE KeywordName = '" + Name.KeywordName + "'"; return(m_oDBConn.ExecuteNonQuery(sSQL)); }