private void ShowResolvedcomplaints()
 {
     try
     {
         if (Session["propertyvalue"] != null)
         {
             string tc_PropertyVal = Session["propertyvalue"].ToString();
             ListView3.DataSource = uc.GetResolvedComplaints(tc_PropertyVal);
             ListView3.DataBind();
         }
         else
         {
             Session["propertyvalue"] = "0";
         }
     }
     catch (Exception ex)
     {
         string text = ex.Message.ToString();
         ScriptManager.RegisterStartupScript(this, typeof(Page), "Warning", "<script>showpoperror('" + text + "')</script>", false);
     }
 }