Wednesday 8 October 2014

Textbox Using TextMode Password not Showing Text Asp.Net C#

No comments    
categories: , ,
TEXTBOX   PASSWORD MODE




                                                         

       Html Coding
                
  <html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table>
        <tr><td>
            <asp:Label ID="Label1" runat="server" Text="UserName"></asp:Label>
            </td><td>
                <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
            </td></tr>
        <tr><td>
            <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label>
            </td><td>
                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
            </td></tr>
        <tr><td colspan ="2">
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Login" />
            </td></tr>

    </table>
    </div>
    </form>
</body>
</html>   


                                                                             

0 comments:

Post a Comment