ASP Net Controls ASP.Net Tutorial

<%@ page language="C#" %>

void Page_Load (object sender, System.EventArgs e) {    
        string text = "Yeah, you clicked the button!";
    
        this.Button1.Click += delegate(object dlgSender, EventArgs dlgE) {    
            Label1.Text = text;
        };    
    }
    


    Untitled Page


    
        
        
        Please click da button!