protected void btnMnemonicAdd_Click(Object Sender, EventArgs e) { int intMnemonicID = 0; Int32.TryParse(Request.Form[hdnMnemonic.UniqueID], out intMnemonicID); if (intMnemonicID > 0) { oTSM.AddMnemonic(intServer, intMnemonicID, (chkMnemonicEnabled.Checked ? 1 : 0)); } Redirect("server=" + intServer.ToString() + "&menu_tab=2" + "&saved=true"); }