Language Basics ASP.Net Tutorial

<%@ Page Language="VB" %>

   Sub Click(Sender as Object, e as EventArgs)
      select case Sender.Value
         case "Left"
            word_image.align = "left"
         case "Right"
            word_image.align = "right"
         case "Center"
            word_image.align = "center"
      end select
    
      Left.Style("Border-Style") = "notset"
      Right.Style("Border-Style") = "notset"
      Center.Style("Border-Style") = "notset"
    
      Sender.Style("Border-Style") = "inset"
    end Sub


    
                 Value="Left" OnServerClick="Click" />
                 Value="Center" OnServerClick="Click" />
                 Value="Right" OnServerClick="Click" />