protected void btnNext_Click(object sender, EventArgs e) { try { if (UtilityClass.CheckDataExists(Convert.ToInt32(hfUplpnr.Value), Convert.ToInt32(hfDBlpnr.Value)).Rows.Count > 0) { string mskn = hfMskn.Value; Response.Redirect("frmBatch2.aspx?uplpnr=" + hfUplpnr.Value + "&dblpnr=" + hfDBlpnr.Value + "&mskn=" + hfMskn.Value + ""); } } catch (Exception ex) { Show(ex.Message, this); ShowMessage(ex.Message); } }