Example #1
0
 protected void BindCategory()
 {
     try
     {
         ddt = objDist.GetCategoryBAL(ConnKey);
         objCommon.BindDropDownLists(ddlcategory, ddt, "CasteName", "CasteCode", "0");
     }
     catch (Exception ex)
     {
         ExceptionLogging.SendExcepToDB(ex, Session["UsrName"].ToString(), Request.ServerVariables["REMOTE_ADDR"].ToString());
         Response.Redirect("~/Error.aspx");
     }
 }