October 2003
Intermediate to advanced
784 pages
14h 21m
English
Do you remember the pie chart application from Chapter 3 (see Figure 3.43)? Now let’s write a similar application using ASP.NET. We will provide both fill and draw options.
We create a Web Forms application using Visual Studio .NET. We add some text and two buttons to the page. The final Web page looks like Figure 12.16. The Draw Chart button will draw a pie chart, and the Fill Chart button will fill the chart with different colors.

Now we add some variables (see Listing 12.10). Instead of reading values from the user, we use hard-coded values for the valArray ...
Read now
Unlock full access