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