pallavikotturu / HW8

homework 8
0 stars 0 forks source link

AboutYou.aspx.cs #11

Open pallavikotturu opened 7 years ago

pallavikotturu commented 7 years ago

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls;

namespace Kotturu2 { public partial class AboutYou : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { lblSuccess.Visible=false; }

    void btnSubscribe_Click(Object sender,
                       EventArgs e)
    {
        // When the button is clicked,
        // change the button text, and disable it.

        lblSuccess.Visible = true;
    }

    protected void btnSubscribe_Click1(object sender, EventArgs e)
    {
        lblSuccess.Visible = true;
    }
}

}

pallavikotturu commented 7 years ago

`//PALLAVI KOTTURU; CAPSTONE 1; DR. PAYTON; I RECIEVED AN EXTENSION FOR THIS ASSIGNMENT

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls;

namespace Kotturu2 { public partial class AboutYou : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { lblSuccess.Visible=false; } ///

    /// Event handler for when the subscribe button is clicked, the label becomes visible that the information that the user entered has been successfully submitted. --> 
    /// </summary>

    /// <param name="sender"></param>
    /// <param name="e"></param>
    void btnSubscribe_Click(Object sender,
                       EventArgs e)
    {
        // When the button is clicked,
        // change the button text, and disable it.
        lblSuccess.Visible = true;
    }

    protected void btnSubscribe_Click1(object sender, EventArgs e)
    {
        lblSuccess.Visible = true;
    }
}

}`