Multi User Login Page with ASP.NET with C# Programming & MS SQL Database | (Part - 1/2)

preview_player
Показать описание
Support Simple Snippets by Donations -
--------------------------------------------------------------------------------------------- In this tutorial we will create a member login page and admin login page using ASP.NET with C# as the programming language & login a already registered user(normal member or admin) in the website by connecting to the MS SQL database. We will perform database connectivity & use the insert SQL query to insert new member details in the backend member master table in the database.

Simple Snippets Official Website -
Simple Snippets on Facebook -
Simple Snippets on Instagram -
Simple Snippets on Twitter -
Simple Snippets Google Plus Page -
Simple Snippets email ID -

#asp #webdevelopment #sql #mssql #aspdotnet #programming #webdevelopment
Рекомендации по теме
Комментарии
Автор

As soon as I heard your charisma and crisp mic quality I subbed. A lot of tutorial channels I find are often afraid of their microphone or something, but you sound really good!

ultraprogrammerprepper
Автор

Before adding the onclick event the code was working fine but after adding the onclick event is showing a compiler error message... Please help i am making this project as my final year project

sayleemore
Автор

On adding on click event i m getting compilation error..? Any suggestions?

aakankshagarg
Автор

pops up as a alert, object reference not set to an instance of an object every time while running in browser

sachinsivakumar
Автор

You helped me to get through my first step on making my first Web App thanks!

Swizzle
Автор

Hello @Simple Snippets, can user and admin login from same login page and get redirected to homepage ?

vrushanttambe
Автор

Thnx a lot bro very much helpful and way of explaining is very excellent....

chamansharma
Автор

As soon as I click the .cs file of any UI page the button ie Login and Sign Up seems to be cut in half when the page is loaded, does anyone know how to fix this ?

shreeshababu
Автор

how can we stick that footer at the bottom?

chandrakala
Автор

For all those who are facing issues in admin login here are some solutions that i found
1. Check table name.
2. Check properly the given textbox and alternative attributes.
3. GetValue is 0.
4. Put a static value in the admin login table. (Right click on the table, click show table data).
And lastly it is most important that
5. Please put the numeric value in the password. For example if you put "abc123" it shows invalid but if you put only "123" you get a successful login.

I hope it helps those who are facing problems.
*( I'm doing my Database in IISexpress server. Which is also valid.)

aditibharti
Автор

sir ek error hai datareader object is not close

deepaksinghkaurav
Автор

Why are you retrieving the whole record when all you need it to know if it exists. Check If Exists is sql server. You could just use ExecuteScalar. BTW DataReaders need to be disposed also. need using block.

maryobrien
Автор

how to make user admin without admin sign up? i am stuck here

ahmadaruf
Автор

Thanks bro. welldone. one question however, if (Session["role"].Equals("")) is not working while
if is ok. What might be the reason ? I mean when role is empty it is not reading this block while it is reading it if it has admin or user . I appreciate your help.

aimanmalkawi
Автор

Get only invalid credentials when putting both the correct and wrong ids in the admin login .any response please

niletech
Автор

I'm getting the error "Index was outside the bounds of the array."

AmightGaming
Автор

How did you hardcoded admin credentials in MSQL database?

kawaiinfi
Автор

In both the case of valid and invalid credentials I am getting alert of invalid credentials, why?

deepgojariya
Автор

web conifg is not working, it is unable to connect with database, no changes occur in database after filling the signup form, plz help

sarveshjha
Автор

when we click on sign up button while all blanks are empty then empty blanks are store in our database please help in this matter

sameerahmad