protected void BindAnimal() { try { ddt = objDist.GetAnimalType_ForRegFeeByUniqueInsIdBAL(ddl_Ins_code.SelectedValue, ConnKey); objCommon.BindDropDownLists(ddlAnimal, ddt, "AnimalTypeDesc", "AnimalTypeCode", "0"); } catch (Exception ex) { ExceptionLogging.SendExcepToDB(ex, Session["UsrName"].ToString(), Request.ServerVariables["REMOTE_ADDR"].ToString()); Response.Redirect("~/Error.aspx"); } }