how to program for html page to C#
where my home page is in index.html
here i have userid and password textbox
when i enter userid and password
how to check wheather the valid user or not by using c#
how to do this
my coding is
index.html
<div id="templatemo_login_box">
<form method="get" action="login.aspx">
<label>Email</label><input class="inputfield" name="userid" type="text" />
<label>Password</label><input class="inputfield" name="password" type="password" />
<input class="button" type="submit" name="Submit" value="" />
</form>
<a href="#">Sign up</a>
</div>
i want C# coding for this and also where to write this in seperate .cs or within html
thank u