Open pallavikotturu opened 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;
}
}
}`
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; }
}