protected void Button1_Click(object sender, EventArgs e) { myclass abc = new myclass(); Label1.Text = abc.callme(); }