'txtName' is not declared. It may be inaccessible due to its protection level

后端 未结 13 1598
暖寄归人
暖寄归人 2020-12-15 19:22

After putting a textbox on my page when I compile it I get the above error:

\'txtName\' is not declared. It may be inaccessible due to its protection level.

13条回答
  •  再見小時候
    2020-12-15 19:47

    Another possible scenario is if the class name in the Page.aspx.vb file differs from the class name in the Page.aspx.designer.vb file. These need to be identical.

提交回复
热议问题