/// <summary>
 /// Loads all the Seller List for Specific Category and SubcategoryID.
 /// </summary>
 /// <param name="intCategoryID"></param>
 /// <param name="intSubcategoryID"></param>
 private void LoadList_CorporateSeller(int intCategoryID, int intSubcategoryID)
 {
     try
     {
         using (BC_CorporateSeller bocCorporate = new BC_CorporateSeller())
         {
             DataTable dt = bocCorporate.LoadList_CorporateSeller(intCategoryID, intSubcategoryID);
             if (dt.Rows.Count > 0)
             {
                 repCorporateSeller.DataSource = dt;
                 repCorporateSeller.DataBind();
             }
             else
             {
                 repCorporateSeller.DataSource = null;
                 repCorporateSeller.DataBind();
                 this.Visible = false;
             }
         }
     }
     catch (Exception ex)
     {
         Response.Write(ex.Message);
     }
 }
    private void LoadList_RealEstate_BS_SellerProduct(int _CategoryID, int _SubcategoryID, int _ProfileID, string _Country)
    {
        RealEstate        objRealEstate        = new RealEstate();
        RealEstateManager objrealEstatemanager = new RealEstateManager();

        objRealEstate.CategoryID    = _CategoryID;
        objRealEstate.SubcategoryID = _SubcategoryID;
        objRealEstate.ProfileID     = _ProfileID;
        objRealEstate.Country       = _Country;

        try
        {
            using (BC_CorporateSeller bs_Seller = new BC_CorporateSeller())
            {
                DataTable dt = bs_Seller.LoadSpecific_BS_SellerProduct(_CategoryID, _SubcategoryID, _ProfileID, _Country);
                if (dt.Rows.Count > 0)
                {
                    InitializeGridView(dt, grvRealEstate);
                }
                else
                {
                    InitializeGridView(null, grvRealEstate);
                }
            }
        }
        catch (Exception ex)
        {
            lblSystemMessage.Text = ex.Message;
        }
    }