i swear soemtimes code is right but visual studio is just being silly, i've had times where the code is perfect but theres an error which is solved if u make a new project and paste in the same code:
This bit of code has an error saying its expecting a semi-colon, anyone see the problem?Code:public partial class MainPage : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if(!IsPostBack) { string username Request.QueryStringQueryString["name"]; WelcomeLabel.Text += ", " + username; } } }




Reply With Quote