krunal lokhande

krunal lokhande

  • NA
  • 33
  • 7.5k

sign up with database

Mar 16 2018 7:01 AM
I HAVE TO CONNECT THIS PAGE WITH DATABASE...
 
 
SOURCE CODE:
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Sign_In.aspx.cs" Inherits="Default2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.auto-style6 {
width: 919px;
height: 229px;
}
.auto-style7 {
width: 1039px;
height: 513px;
margin-right: 40px;
}
.auto-style8 {
width: 1025px;
height: 505px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="modal-body modal-body-sub_agile">
<div class="col-md-8 modal_body_left modal_body_left1">
<table class="auto-style6">
<tr>
<td>
<asp:Label ID="lblname" runat="server" Text="Name" Font-Bold="True" Font-Italic="True" Font-Names="Times New Roman"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtname" runat="server" ></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtname" CssClass="alert-danger" ErrorMessage="Please fill out this field."></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblemail" runat="server" Text="Email" Font-Bold="True" Font-Italic="True" Font-Names="Times New Roman"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtemail" runat="server" TextMode="Email"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtemail" CssClass="alert-danger" ErrorMessage="Please enter valid email." ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
</td>
</tr>
</table>
</div>
<br />
<br />
<asp:Button ID="btn1" runat="server" Text="Sign In" />
<br />
<br />
<ul class="social-nav model-3d-0 footer-social w3_agile_social top_agile_third">
<li><a href="#" class="facebook">
<div class="front"><i class="fa fa-facebook" aria-hidden="true"></i></div>
<div class="back"><i class="fa fa-facebook" aria-hidden="true"></i></div></a></li>
<li><a href="#" class="twitter">
<div class="front"><i class="fa fa-twitter" aria-hidden="true"></i></div>
<div class="back"><i class="fa fa-twitter" aria-hidden="true"></i></div></a></li>
<li><a href="#" class="instagram">
<div class="front"><i class="fa fa-instagram" aria-hidden="true"></i></div>
<div class="back"><i class="fa fa-instagram" aria-hidden="true"></i></div></a></li>
</ul>
<div class="clearfix"></div>
<p><a href="#" data-toggle="modal" data-target="#myModal2" > <a href="Sign_Up.aspx">Don't have an account</a> </a></p>
</div>
<div class="clearfix"></div>
<!--<div class="col-md-8 modal_body_right modal_body_right1">
<img src="New%20folder/cy.JPG" alt=" "/>
</div>
<div class="clearfix"></div>-->
</asp:Content>
 

Answers (3)