Asp Control ASP.Net

<%@ Page Language="C#" %>
    
    protected void Button1_Click(object sender, System.EventArgs e)
    {
        if (TreeView1.CheckedNodes.Count > 0)
        {
            Label1.Text = "We are sending you information on:

";
            foreach (TreeNode node in TreeView1.CheckedNodes)
            {
                Label1.Text += node.Text + " " + node.Parent.Text + "
";
            }
        }
        else
        {
            Label1.Text = "You didn't select anything. Sorry!";
        }
    }    



    Latest Hardware


    
    Please select the items you are interested in:
        


                              Runat="server" 
                      Font-Underline="False" 
                      DataSourceID="XmlDataSource1" 
                      ShowCheckBoxes="Leaf">
            
                                 Text="Computer Hardware" />
                
                
            

        
        


                            Runat="server" 
                    Text="Submit Choices" 
                    OnClick="Button1_Click" />
        


                                   Runat="server"     
                           DataFile="Data.xml">
        
       


       
    


File: Data.xml