Asp Control ASP.Net

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="WizardForm" %>



    Wizard Form


    
    

        
            
                
                    
                    
                    
                    
                
                
                    
                    
                    
                    
                        Red
                        Green
                        Blue
                    
                
                
                    
                    
                    
                
                
                    
                    
                    
                
            

            
            
            
                                     BorderColor="#EFF3FB" 
                         BorderStyle="Solid" 
                         BorderWidth="2px"
                         Font-Bold="True" 
                         Font-Size="0.9em" 
                         ForeColor="White" 
                         HorizontalAlign="Center" />
                                               BorderColor="Yellow" 
                                   BorderStyle="Solid"
                                   BorderWidth="1px" 
                                   Font-Names="Verdana" 
                                   Font-Size="0.8em" 
                                   ForeColor="#284E98" />
        
    
    

    


File: Default.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class WizardForm : System.Web.UI.Page
{
  protected void Wizard1_ActiveStepChanged(object sender, EventArgs e)
  {
    if ( this.Wizard1.ActiveStepIndex==3 )
    {
      this.FinishLabel.Text =
        "Your Dog's Name is " +
        this.DogName.Text + "";
      this.FinishLabel.Text +=
        "Your favorite color is " +
        this.DropDownList1.SelectedItem.Text +
        "";
      if (this.CheckBox1.Checked == true)
      {
        this.FinishLabel.Text +=
          "And you are allergic to cats.";
      }
      else
      {
        this.FinishLabel.Text +=
          "And you are not allergic to cats.";
      }
    }
  }
}