locked
The type or namespace name 'TextBox1' could not be found (are you missing a using directive or an assembly reference?) RRS feed

  • Question

  • User716763260 posted

    How do I solve this : The type or namespace name 'TextBox1' could not be found (are you missing a using directive or an assembly reference?).

    Does anybody have any hints or solutions on how to go about solving this problem.

    I have just setup IIS on Windows XP Professional. I have also did some things in the Window Manager that holds the IIS part.

    If you need more information I will try to do my best to give it to you. Thanks...........................

     

    Chris Clark

    Tuesday, September 26, 2006 10:09 PM

Answers

  • User-2041805088 posted

    TextBox1 sounds like the ID. You must be declaring it wrong. It should be something like:

    VB.NET
    Protected TextBox1 As TextBox

    C#
    protected TextBox TextBox1;

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 26, 2006 10:19 PM