public string getIconName(object o) { isExist = FavDAO.isItemExist(Session.SessionID, o.ToString()); if (isExist) { return("fav-active"); } else { return("fav-inactive"); } }
public string getToolTip() { bool isExist = FavDAO.isItemExist(Session.SessionID, dt.Rows[0]["SKUCode"] + ""); if (isExist) { return("Remove From Wish-List"); } else { return("Add to Wish list"); } }