Hello,
I am new to html and c# my life been in engineering.
I am trying to create a simple login page, I have used html for the page structure and I am using c# for the login authentication. I have a table database with MS Access but I can’t seem to be able to get c# to verify the login info from the table…any ideas or tutorial I can refer to thanks is advance…. Here is my code
p.s. i am using dreamweaver 8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Another Square</title>
<meta http-equiv="Content-Language" content="English" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
.style2 {
font-size: 15px;
font-weight: bold;
}
.style4 {font-family: Arial, Helvetica, sans-serif}
.style7 {font-size: 12px}
.style9 {
font-size: 36px;
font-weight: bold;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
.style10 {font-size: 10px}
-->
</style>
<script language="c#">
//some code will run for the validation of the username and //passwrod;
// include login function...but i don't know what to put
</script>
</head>
<body>
<div id="wrap">
<div id="header">
<h1 class="style4"> </h1>
<p class="style4"> </p>
<p align="right"> Friday, July 10, 2009 </p>
<p> </p>
</div>
<div id="menu">
<p align="left" class="style2"> </p>
</div>
<div id="content">
<div class="right">
<h6 class="style7"> </h6>
<h6 class="style7"> </h6>
<h6 class="style7"> </h6>
<h6 class="style7"><br />
<br />
<br />
<br />
</h6>
</div>
<div class="left">
<h2>Login here: </h2>
<form id="form1" method="post" action="verify.asp">
<p>
<label><span class="style1"> User name:
</span>
<input type="text" name="username" tabindex="1" />
</label>
</p>
<p>
<label><span class="style1"> Password : </span>
<input type="text" name="password" tabindex="2" />
</label>
</p>
<p>
<label>
<input type="submit" name="Submit" value="Login" tabindex="3" />
</label>
<label>
<input type="submit" name="Submit2" value="Sign Up" tabindex="4" />
</label>
</p>
<p>
<input type="checkbox" name="checkbox" value="checkbox" id="checkbox" />
<label for="checkbox"><span class="style1">Forget Username and Password</span></label>
</p>
<p>
<input type="checkbox" name="checkbox2" value="checkbox" id="checkbox2" />
<label for="checkbox2"><span class="style1">Remember me on this computer</span></label>
</p>
</form>
</div>
<div style="clear: both;">
<p> </p>
<p align="center">Links and other things to be defign later</p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
</div>
</div>
<div id="footer"></div>
</div>
</body>
</html>