private void LoadData()
 {
     int brandId = int.Parse(ProductSearchEngine.Business.Encryption.Encryption64.Decrypt(Request.QueryString["brandId"], "12345678").Replace("+", " "));
     ProductSearchEngine.EntityClasses.BrandEntity brand = new ProductSearchEngine.Business.Adapters.BrandAdapter().GetBrandById(brandId);
     BrandNameEditTextBox.Text = brand.Name;
     BrandTitle = brand.Name;
 }
Exemplo n.º 2
0
        private void LoadData()
        {
            int brandId = int.Parse(ProductSearchEngine.Business.Encryption.Encryption64.Decrypt(Request.QueryString["brandId"], "12345678").Replace("+", " "));

            ProductSearchEngine.EntityClasses.BrandEntity brand = new ProductSearchEngine.Business.Adapters.BrandAdapter().GetBrandById(brandId);
            BrandNameEditTextBox.Text = brand.Name;
            BrandTitle = brand.Name;
        }