<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WFCExample.aspx.cs" Inherits="FormControls.WFCExample" %>

 

<!DOCTYPE html>

 

<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">

    <title></title>

</head>

<body>

 

    <h3>ASPX Web Form button control used to submit a form for server-side processing. </h3>

 

    <form id="form1" runat="server">

    

        <asp:Label ID="lblName" runat="server" Text="Enter your name:"></asp:Label> <br />

        <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>     <br />

        <asp:Button ID="btnProcess" runat="server" Text="Submit Name" OnClick="btnProcess_Click" />

   

    </form>

 

</body>

</html>