All pastes #33300 Raw Edit

Untitled

public text v1 · immutable
#33300 ·published 2005-12-11 17:58 UTC
rendered paste body
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.

Error message: C:/Programme/Mono-1.1.10/lib/xsp/test\website3\Default.aspx.cs(15,9) : error CS0103: The name `Label1' does not exist in the context of `_Default' C:/Programme/Mono-1.1.10/lib/xsp/test\website3\Default.aspx.cs(19,9) : error CS0103: The name `Label1' does not exist in the context of `_Default' C:/Programme/Mono-1.1.10/lib/xsp/test\website3\Default.aspx.cs(23,23) : error CS0103: The name `Calendar1' does not exist in the context of `_Default' C:/Programme/Mono-1.1.10/lib/xsp/test\website3\Default.aspx.cs(23,9) : error CS0103: The name `Label1' does not exist in the context of `_Default'

File name: C:/Programme/Mono-1.1.10/lib/xsp/test\website3\Default.aspx.cs 




Line 1: using System;
Line 2: using System.Data;
Line 3: using System.Configuration;
Line 4: using System.Web;
Line 5: using System.Web.Security;
Line 6: using System.Web.UI;
Line 7: using System.Web.UI.WebControls;
Line 8: using System.Web.UI.WebControls.WebParts;
Line 9: using System.Web.UI.HtmlControls;
Line 10: 
Line 11: public partial class _Default : System.Web.UI.Page 
Line 12: {
Line 13:     protected void Page_Load(object sender, EventArgs e)
Line 14:     {
Line 15:         Label1.ToolTip = "Testing";
Line 16:     }
Line 17:     protected void Button1_Click(object sender, EventArgs e)
Line 18:     {
Line 19:         Label1.Text = "Test";
Line 20:     }
Line 21:     protected void Calendar1_SelectionChanged(object sender, EventArgs e)
Line 22:     {
Line 23:         Label1.Text = Calendar1.SelectedDate.Day.ToString();
Line 24:     }
Line 25: }