Creating an Online Shopping Cart and PayPal System
(Page 1 of 4 )
I've used the DataGrid in almost every commercial C# .net project to date, so when I started hearing about the GridView and how it would take out a chunk of the work I kept doing, I leaped at the chance to use it. Both the DataGrid and the GridView are classes that allow you to easily and quickly display tabular data. They both get rendered to HTML tables when viewed online.
A downloadable zip file with the source file and images is available here.
Introduction
This is the first article in a series focusing on the GridView and demonstrating some of its usages via a simple shop demo. Each article is going to use the same source files, which you can grab at the link shown above. To view the demo just unzip everything into a new directory on your web server and browse to the directory name. For example, if you unzipped it all into a directory called "gridviewshop" in the root of your web server you would navigate to:
http://www.yourserver.com/gridviewshop
If everything worked okay you should see a site looking like this:

Next: The GridView >>
More C# Articles
More By Tann San