[Solved] Error Message is not clear to me
If what you posted is your whole class, you’re missing a curly brace. Exactly as the error message says. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Default2 : System.Web.UI.Page { protected void gettickvalue(object sender, EventArgs e) { Random RandomNumber = new Random(); int n = RandomNumber.Next(1, 9); … Read more