<%@ Page Language="C#" MasterPageFile="~/MspAlogin.master" AutoEventWireup="true" CodeFile="frmChangeprofile.aspx.cs" Inherits="Change" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   <table >
        <tr><td style="height: 25px"> </td>
            <td style="width: 292px; height: 25px;">
                <asp:Label ID="Label1" runat="server" Text="CHANGE PROFILE" Width="191px" Font-Bold="True" Font-Italic="False" Font-Underline="True"></asp:Label>
            
            </td>
            </tr>
           
        <tr>
            <td style="height: 26px; width: 116px;">
                <asp:Label ID="lbl" runat="server" Text="Username" Font-Italic="True"></asp:Label>
            </td>
            <td style="height: 26px; width: 292px;">
                <asp:TextBox ID="txtuname" runat="server"></asp:TextBox>
            </td>
           <td>
               <asp:Label ID="Label3" runat="server" Text="Please choose another Username"></asp:Label>
           </td>
            
        </tr>
        
    <tr>
            <td style="width: 116px; height: 25px;">
                <asp:Label ID="Label4" runat="server" Text="Firstname" Font-Italic="True"></asp:Label>
            </td>
            <td style="width: 292px; height: 25px">
                <asp:TextBox ID="txtfname" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtfname"
                    ErrorMessage="Enter firstname" Style="z-index: 102; left: 328px; position: absolute;
                    top: 75px" Width="141px"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtuname"
                    ErrorMessage="Enter username" Style="z-index: 101; left: 328px; position: absolute;
                    top: 45px" Width="137px"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 116px">
                <asp:Label ID="Label5" runat="server" Text="Lastname" Font-Italic="True"></asp:Label>
            </td>
            <td style="width: 292px">
                <asp:TextBox ID="txtlname" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 116px">
                <asp:Label ID="Label6" runat="server" Text="Gender" Font-Italic="True"></asp:Label>
            </td>
            <td style="width: 292px">
                <asp:RadioButtonList ID="gender" runat="server" RepeatDirection="Horizontal" Font-Italic="True">
                    <asp:ListItem>male</asp:ListItem>
                    <asp:ListItem>female</asp:ListItem>
                </asp:RadioButtonList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="gender"
                    ErrorMessage="Select gender" Style="z-index: 100; left: 328px; position: absolute;
                    top: 135px" Width="135px"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 116px">
                <asp:Label ID="Label131" runat="server" Text="Address" Font-Italic="True"></asp:Label>
            </td>
            <td style="width: 292px">
                <asp:TextBox ID="txtaddress" runat="server" TextMode="MultiLine"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtaddress"
                    ErrorMessage="Enter your address" Style="z-index: 100; left: 328px; position: absolute;
                    top: 175px" Width="215px"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtzcode"
                    ErrorMessage="Enter your pincode" Style="z-index: 101; left: 328px; position: absolute;
                    top: 280px" Width="181px"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtcountry"
                    ErrorMessage="Enter your country" Style="z-index: 103; left: 328px; position: absolute;
                    top: 250px" Width="198px"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 116px">
                <asp:Label ID="Label7" runat="server" Text="Email" Font-Italic="True"></asp:Label>
            </td>
            <td style="width: 292px">
                <asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtemail"
                    ErrorMessage="Incorrect Email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
       &nbsp;<tr>
            <td style="width: 116px">
                <asp:Label ID="Label10" runat="server" Text="Country" Font-Italic="True"></asp:Label>
            </td>
            <td style="width: 292px">
                <asp:TextBox ID="txtcountry" runat="server"></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td style="width: 116px; height: 26px">
                <asp:Label ID="Label11" runat="server" Text="Zipcode" Font-Italic="True"></asp:Label>
            </td>
            <td style="height: 26px; width: 292px;">
                <asp:TextBox ID="txtzcode" runat="server"></asp:TextBox>
            </td>
        </tr>
        
        <tr>
            <td style="width: 116px">
                <asp:Button ID="cmdsubmit" runat="server" Text="Submit" OnClick="cmdsubmit_Click1"  />
            </td>
            <td style="width: 292px">
                <asp:Button ID="cmdchange" runat="server" Text="Change Password" OnClick="cmdchange_Click"   /><asp:LinkButton
                    ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">Back</asp:LinkButton>
            </td>
        </tr>
        <tr>
       <td style="width: 116px">
       <asp:Label ID="lblmess" runat="server" Text=""></asp:Label>
       </td>
       </tr>
    </table>
</asp:Content>

