Asp Control ASP.Net

<%@ Page Language="VB" %>

    Sub ImageButton1_Click(sender As Object, e As ImageClickEventArgs)
      Dim Message As String
    
      Message = "Hello " & txtName.Text & "."
    
      If chkTour.Checked Then
        Message &= cboCountry.SelectedItem.Text
      End If
    
      If radMail.SelectedItem.Value = "HTML" Then
        Label1.Text = "Using HTML format for mail. Sending:" & Message
      Else
        Label1.Text = "Using plain format for mail. Sending:" & Message
      End If
    End Sub





    
        


            Subscribe to our mailing list: 
        


        


            
                
                    
                        
                            Name:
                        
                            
                        
                    
                    
                        
                            E-mail Address:
                        
                            
                        
                    
                    
                        
                            Country:
                        
                            
                                United States
                                United Kingdom
                            
                        
                    
                    
                        
                            Mail me tour details:
                        
                            
                        
                    
                    
                        
                            Mail format:
                        
                            
                                HTML
                                Text