how to check username and password from database in asp.net using c#
In this Post We Will Explain About is how to check username and password from database in asp.net using c# With Example and Demo.Welcome on Pakainfo.com – Examples, The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u can know to login form in asp.net c# with source code Example
In this post we will show you Best way to implement login and registration form in asp.net with database, hear for registration form in asp.net with c# code with validation with Download .we will give you demo,Source Code and examples for implement Step By Step Good Luck!.
how to check username and password from database in asp.net using c#
In this Example,First of all Add or Inluce External Libs Like as a(jQuery, css etc..), and then create a simple index.php or index.html page.After that crate a simple javascript file like as a index.js or main.js, It is also add your web-application First Header Part to some priorty set.After that Include your relavant CSS Class.
HOW TO CREATE SIMPLE LOGIN PAGE-FORM AND CHECK USERNAME,PASSWORD using ASP.NET
STORED PROCEDURE AND SQL SERVER DATABASE
And Then make a Stored Procedure like as a check the simple log in attempt as:
CREATE PROCEDURE simple_user_Login_check @liveuname varchar(100), @livepass varchar(100) AS BEGIN select * from table_login where uname COLLATE Latin1_general_CS_AS=@liveuname and [Password] COLLATE Latin1_general_CS_AS=@livepass END In the web.config file create the connection string to connect the asp.net web application with the sql server database as.
HTML Source Code
In the HTML :