can't change label's property on webForm!
i created an ASP.NET web application and on the webForm i dragged a label, which i was trying do change the text property calling the
Page_Load() function, but doesn't work. I think it's not even executing this code. If anyone could help!
/// Summary description for WebForm1.
public class WebForm1 : System.Web.UI.Page
protected System.Web.UI.WebControls.Label Label1;
private void Page_Load(object sender, System.EventArgs e)
Label1.Text = "Label's text changed!";
thanks to all!