Asp Login Form
SQL Procedure alter PROCEDURE [dbo].[LoginPro] @Email as varchar(50), @password as varchar(50) AS BEGIN SELECT Email, Password FROM Registration WHERE Email=@Email AND Password=@Password --we compare the values from the application we got with the values in the database END Login Page protected void Btn_Login_Click(object sender, EventArgs e) { // int k = 0; string user; string pass; user = txtusername.Text.ToString(); pass = txtpassword.Text.ToString(); if (user == "" || pass == "") { lblMsg.Text = "can't blank user name and password"; } ...