www.webdeveloper.com
Results 1 to 3 of 3

Thread: Making an ASp Panel Visible......

  1. #1
    Join Date
    Feb 2003
    Location
    Sault Ste Marie, On, Canada
    Posts
    168

    Making an ASp Panel Visible......

    Hey, I'm just getting back into this...again using the web Matrix program, and I'm getting expression is not a method for Profile_Added, I'd like to make the ASP Panel visible after the Sub has finished running the code, Thx In Advance.
    Try
    rowsAffected = dbCommand.ExecuteNonQuery

    Finally
    dbConnection.Close

    Profile_Added = visible
    End Try


    End Sub

    Sub Submit_Click(sender As Object, e As EventArgs)

    End Sub

    </script>

    <head>
    </head>
    <body>
    <form runat="server">
    <p>
    First Name<asp:TextBox id="First_Name" runat="server"></asp:TextBox>
    </p>
    <p>
    Last Name
    <asp:TextBox id="Last_Name" runat="server"></asp:TextBox>
    </p>
    <p>
    <asp:Button id="Submit" onclick="MyInsertProfile" runat="server" Text="Add Profile"></asp:Button>
    </p>

    </form>


    <asp:Panel runat="server" id="Profile_Added" Visible="false">
    The New Profile has been added!
    </asp:Panel>
    </body>
    </html>

  2. #2
    Join Date
    Feb 2003
    Location
    Sault Ste Marie, On, Canada
    Posts
    168
    Nevermind I Figured it out.

  3. #3
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    5,298
    Please post all .NET related questions in the .NET forum.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles