Mondeo Posted December 5, 2006 Posted December 5, 2006 I've added a gridview to my page, gridview1. Then in code behind ive added a couple of lines gridview1.datasource = dtFeedback gridview1.databind The IDE finds gridview1 no problem and intellisense works fine. When I try and run it it fails with build errors, none are shown in the normal window however when I go into the output window. It shows error BC30451: Name 'GridView1' is not declared. error BC30451: Name 'GridView1' is not declared I've tried deleting the Gridview and recreating it but its still the same, i've exited VWD and tried again, still the same! Thanks Quote
Mondeo Posted December 6, 2006 Author Posted December 6, 2006 This is happening in other projects now, with any controls. I add them to the page, I can see them fine in the code behind and intellisense works perfectly. But as soon as I build the project I get the 'textbox1' is not declared or 'label1' is not declared or whatever? Has anyone come accross this, my VWD is messed up somehow! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.