ComponentOne PayPal eCommerce for ASP.NET: Building a Web Store > Using Data-Bound PayPal eCommerce for ASP.NET Controls > Step 4 of 4: Running the Application

Step 4 of 4: Running the Application

The application is now ready. It took only a little bit of work to set up the data binding, and the new application has three important advantages:

      The ASP.NET code does not have to change if the product list changes. New items, prices, codes, and any other changes made to the database will always be reflected on this ASP.NET page.

      Information that appears in multiple places (the item price, for example) will always be in synch, and you don't run the risk of updating the item price displayed on the page and forgetting to update the ItemPrice property on the purchase button.

      If you want to change the appearance of the form, there is only one set of controls to edit (the ones in the template). For example, if you want to update the BusinessLogo property, there is only one C1AddToCart button to edit.

Run the application and observe:

When viewed in Internet Explorer the new application will look similar to the following:

 


Send comments about this topic to ComponentOne.
Copyright © 1987-2009 ComponentOne LLC. All rights reserved.