protected void lbtnSaveTheme_Click(object sender, EventArgs e) { try { if (hdnSelectedTheme.Value != string.Empty) // || hdnSelectedTheme.Value != null) { Tributes objTribute = new Tributes(); MiscellaneousController _controller = new MiscellaneousController(); objTribute.TributeId = _tributeId; objTribute.ThemeId = int.Parse(hdnSelectedTheme.Value); objTribute.ModifiedBy = _userId; objTribute.ModifiedDate = DateTime.Now; _controller.UpdateTributeTheme(objTribute); } } catch (Exception ex) { throw ex; } }