Simple Password Recovery Form In ASP.NET
Below is the source code
Example:-
<div class="container">
<div class="form-horizontal" style="border:1px solid black;width:600px;height:250px;padding:10px;margin-left:50px;margin-top:50px">
<div class="row">
<div class="col-sm-9 col-sm-offset-3 text-primary">
<h2>Password Recovery</h2>
</div>
</div>
<div class="form-group">
<div class="col-sm-3 control-label">
<span>New Password</span>
</div>
<div class="col-sm-7">
<asp:TextBox ID="txtPassword" runat="server" placeholder="New Password" CssClass="form-control"></asp:TextBox>
</div>
</div>
<div class="form-group">
<div class="col-sm-3 control-label">
<span>Confirm Password</span>
</div>
<div class="col-sm-7">
<asp:TextBox ID="txtConPassword" TextMode="Password" runat="server" placeholder="Confirm Password" CssClass="form-control"></asp:TextBox>
</div>
</div>
<div class="form-group">
<div class="col-sm-1 col-sm-offset-3">
<asp:Button ID="BtnSubmit" runat="server" CssClass="btn btn-primary" Text="Submit" />
</div>
</div>
</div>
</div>
output :-
Below is the source code
Example:-
<div class="container">
<div class="form-horizontal" style="border:1px solid black;width:600px;height:250px;padding:10px;margin-left:50px;margin-top:50px">
<div class="row">
<div class="col-sm-9 col-sm-offset-3 text-primary">
<h2>Password Recovery</h2>
</div>
</div>
<div class="form-group">
<div class="col-sm-3 control-label">
<span>New Password</span>
</div>
<div class="col-sm-7">
<asp:TextBox ID="txtPassword" runat="server" placeholder="New Password" CssClass="form-control"></asp:TextBox>
</div>
</div>
<div class="form-group">
<div class="col-sm-3 control-label">
<span>Confirm Password</span>
</div>
<div class="col-sm-7">
<asp:TextBox ID="txtConPassword" TextMode="Password" runat="server" placeholder="Confirm Password" CssClass="form-control"></asp:TextBox>
</div>
</div>
<div class="form-group">
<div class="col-sm-1 col-sm-offset-3">
<asp:Button ID="BtnSubmit" runat="server" CssClass="btn btn-primary" Text="Submit" />
</div>
</div>
</div>
</div>
output :-
No comments:
Post a Comment