SyntaxFix
Write A Post
Hire A Developer
Questions
You need to reference the namespace
using System.Windows.Form;
and then add in the code
protected void Button1_Click(object sender, EventArgs e) { MessageBox.Show(" Hi...."); }