public XMLParser()
 {
     productMapper      = new ProductMapper();
     chainMapper        = new ChainMapper();
     storeMapper        = new StoreMapper();
     storeProductMapper = new StoreProductMapper();
     storeMapper.FillStoreList();
     productMapper.FillProductList();
     chainMapper.FillChainList();
     storeProductMapper.FillStoreProductList();
 }
Example #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        prMapper.FillProductList();

        if (!IsPostBack)
        {
            parser.GetAllChainsDirectory();
            parser.GetAllStoresDirectory();
            parser.GetAllFullPricesXML();
            parser.FillProductsFromXML();
            parser.FillStoresProductsFromXML();
            this.BindGrid(string.Empty);
        }
    }