Тёмный

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

Simple Snippets
Подписаться 249 тыс.
Просмотров 108 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 90   
@GMSwizzle
@GMSwizzle 2 года назад
You helped me to get through my first step on making my first Web App thanks!
@SimpleSnippets
@SimpleSnippets 2 года назад
Glad I could help!
@GMSwizzle
@GMSwizzle 2 года назад
@@SimpleSnippets Do you have any tutorials like this, about email verification on user sign up?
@dhruvinjariwala1906
@dhruvinjariwala1906 Год назад
@@SimpleSnippets isme Mera admin login nahi ho raha
@ultraprogrammerprepper
@ultraprogrammerprepper 2 года назад
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!
@banaras.wala.foreignaala
@banaras.wala.foreignaala Год назад
Very clear and very good video
@chamansharma3990
@chamansharma3990 5 лет назад
Thnx a lot bro very much helpful and way of explaining is very excellent....
@SimpleSnippets
@SimpleSnippets 5 лет назад
Most welcome 😇 very happy to hear this from you buddy. Please do Subscribe and share this knowledge with your friends. That's the biggest help & support you can provide ✌️
@vishwajeetbhat3763
@vishwajeetbhat3763 3 года назад
@@SimpleSnippets Bro how you signup admin process i cant find where it is? i mean in this video i know how to do user login but when u added entry in database of admin table? and how? cause i have not signup yet for admin its said that invalid login . please help me i have to do this project
@PrashantBKadu
@PrashantBKadu 2 года назад
Superb 👌👌👌, Tanmay Sakpal Sir.
@aditibharti2115
@aditibharti2115 Год назад
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.)
@Worldlovehumanity
@Worldlovehumanity 2 года назад
Great sir ☺️☺️☺️
@jayeshyedge7171
@jayeshyedge7171 5 лет назад
Keep it up bro!!
@SimpleSnippets
@SimpleSnippets 5 лет назад
Thanks bro, please share the videos with your friends 😇
@saimedianellai
@saimedianellai 3 года назад
Excellent sir
@damithpathirage3457
@damithpathirage3457 4 года назад
thanks a lot brother
@SimpleSnippets
@SimpleSnippets 4 года назад
Most welcome buddy, glad to hear this from you :-) Please do share the videos with your friends too. Thats the biggest help and support ✌
@zaeemuddin2075
@zaeemuddin2075 4 года назад
Love from Pakistan ♥️
@rahadulhaq6387
@rahadulhaq6387 4 года назад
Great bro
@SimpleSnippets
@SimpleSnippets 4 года назад
Thank you so much 😀
@maryobrien3596
@maryobrien3596 3 года назад
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.
@sayleemore29
@sayleemore29 3 года назад
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
@phatnguyenxuan5570
@phatnguyenxuan5570 4 года назад
beautiful
@SimpleSnippets
@SimpleSnippets 4 года назад
Thank you! 😊
@vamshireddy8187
@vamshireddy8187 2 года назад
Super
@abdullahsohail1781
@abdullahsohail1781 Год назад
thanks alot
@xvader193
@xvader193 4 года назад
Do this in MVC
@deepaksinghkaurav3394
@deepaksinghkaurav3394 4 года назад
sir ek error hai datareader object is not close
@vrushanttambe6913
@vrushanttambe6913 Год назад
Hello @Simple Snippets, can user and admin login from same login page and get redirected to homepage ?
@willaali9706
@willaali9706 4 года назад
i don't think my code is connected to sql. values wont update and no message shows it just refreshes
@naimamilis8808
@naimamilis8808 4 года назад
please if you know where is the problem tell me because i have the same
@op-aazgamer449
@op-aazgamer449 3 года назад
Even im too getting error while admin login it just get refresh and nothing happens
@akkkuuuu
@akkkuuuu 2 года назад
Values updating but no pop up comes . Any suggestions?🥲
@akkkuuuu
@akkkuuuu 2 года назад
@@SPavankalyan may be error in your code
@akkkuuuu
@akkkuuuu 2 года назад
@@SPavankalyan can u mail me. If i can, i will surely help
@harshadavihu2781
@harshadavihu2781 2 года назад
It is Very helpful.........Thank you!!! Explaining is too fast.............
@chandrakala7302
@chandrakala7302 Год назад
how can we stick that footer at the bottom?
@sameerahmad9314
@sameerahmad9314 Год назад
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
@touseefiqbal4194
@touseefiqbal4194 Год назад
compulsory i User id , all other may automatically empty save
@vittal255
@vittal255 4 года назад
Excelent work bro
@SimpleSnippets
@SimpleSnippets 4 года назад
Thank you so much 😀
@niletech7220
@niletech7220 4 года назад
Get only invalid credentials when putting both the correct and wrong ids in the admin login .any response please
@aditibharti2115
@aditibharti2115 Год назад
Did you solve it
@niletech7220
@niletech7220 Год назад
@@aditibharti2115 yup
@shreeshababu2809
@shreeshababu2809 Год назад
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 ?
@sarveshjha541
@sarveshjha541 4 года назад
web conifg is not working,it is unable to connect with database, no changes occur in database after filling the signup form, plz help
@naimamilis8808
@naimamilis8808 4 года назад
please if you know where is the problem tell me because i have the same
@SMothvik
@SMothvik 4 года назад
@@naimamilis8808 you have to link the database in visual studio
@samanvithaamaragani3456
@samanvithaamaragani3456 2 года назад
same problem
@samanvithaamaragani3456
@samanvithaamaragani3456 2 года назад
same issue what to do
@AmightGaming
@AmightGaming 3 года назад
I'm getting the error "Index was outside the bounds of the array."
@vandanbhingradiya3894
@vandanbhingradiya3894 3 года назад
i think u are fetching wrong value in dr.getvalue() please chack length of your columns(starts with 0)
@aimanmalkawi8831
@aimanmalkawi8831 4 года назад
Thanks bro. welldone. one question however, if (Session["role"].Equals("")) is not working while if (Session["role"].Equals("admin")) 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.
@SimpleSnippets
@SimpleSnippets 4 года назад
Most welcome. Well I'm not sure what could be the issue but a work around to that issue would be instead of blank you use your own key like - "blank" or "nullvalue" and then match this. See if that works 👍
@aimanmalkawi8831
@aimanmalkawi8831 4 года назад
@@SimpleSnippets Thanks for your quick response. I tried everything including is null it is giving error despite the try{}catch() block. the rest like (Session["role"].Equals("") or (Session["role"].ToString()=="" it simply skipping it. this is really important to me if you can help.
@SimpleSnippets
@SimpleSnippets 4 года назад
@@aimanmalkawi8831 it should've worked due to the try catch. I'm not sure if I can assess this any further ✌️
@SPavankalyan
@SPavankalyan 2 года назад
Bro help me i get userlogin but i didn't get Adminlogin pupup
@sachinsivakumar4494
@sachinsivakumar4494 4 года назад
pops up as a alert ,object reference not set to an instance of an object every time while running in browser
@ahmadaruf3833
@ahmadaruf3833 Год назад
how to make user admin without admin sign up? i am stuck here
@aakankshagarg8423
@aakankshagarg8423 4 года назад
On adding on click event i m getting compilation error..? Any suggestions?
@frienzyfreddie
@frienzyfreddie Год назад
How did you hardcoded admin credentials in MSQL database?
@pinkyprajapat9224
@pinkyprajapat9224 7 месяцев назад
did uuh get it ??
@frienzyfreddie
@frienzyfreddie 7 месяцев назад
@@pinkyprajapat9224 Yh
@pinkyprajapat9224
@pinkyprajapat9224 7 месяцев назад
@@frienzyfreddie how?? Uh created by urself in data base right ??
@cutemaryam5789
@cutemaryam5789 4 года назад
Amazing sir
@maryobrien3596
@maryobrien3596 3 года назад
Very bad!! Not using parameters leaves you wide open to sql injection. Apparently you are storing passwords as plain text. Also very bad. Connections and Commands need to be disposed. They should be in using blocks.
@aakankshagarg8423
@aakankshagarg8423 4 года назад
Sbkuch thik hai but result NAN aa raha hai.. Any suggestions?
@aditibharti2115
@aditibharti2115 Год назад
Check table name
@aditibharti2115
@aditibharti2115 Год назад
Check table name
@deepgojariya4272
@deepgojariya4272 4 года назад
In both the case of valid and invalid credentials I am getting alert of invalid credentials, why?
@tolyp8762
@tolyp8762 4 года назад
I was having the same issue. I was able to fix it by editing this code SqlCommand cmd = new SqlCommand("select * from member_master_tbl where member_id='"+TextBox1.Text.Trim()+"' AND password='"+TextBox2.Text.Trim()+"';", con); I had forgot to put the .Text.Trim() at the end of the password part. This corrected the issue for me. Also, I had the M in member upper case which I corrected as well.
@justinbieber7334
@justinbieber7334 2 года назад
Any one knows when I click admin page it's not getting pupup
@maryobrien3596
@maryobrien3596 3 года назад
Kind of dumb to check connection state on a connection that you created the line before.
@mazeh3363
@mazeh3363 2 года назад
apakah hanya saya yang nyasar disini?
@dhruvinjariwala1906
@dhruvinjariwala1906 Год назад
Isme Mera admin login nahi ho raha
@eltongallapeni3374
@eltongallapeni3374 3 года назад
How to use Manualy Admin Username and pw??Please Helppp
@jainyjames1479
@jainyjames1479 3 года назад
insert into table_name (field1,field2,field3) values ('value1',value2,'value3');
@SPavankalyan
@SPavankalyan 2 года назад
Anyone help me no pupup shown in admin page
@maryobrien3596
@maryobrien3596 3 года назад
You're kidding! You are interacting with the user interface while the connection is open? No, please.
@gwvaidyasen1629
@gwvaidyasen1629 2 года назад
Uhm, I searched across the web but couldn't get what you said. Could you please explain?
@Prince-os2pw
@Prince-os2pw 3 года назад
6:25
@AadiPatil8975
@AadiPatil8975 4 года назад
how to hardcore admin id and password?
@jainyjames1479
@jainyjames1479 3 года назад
insert into table_name (field1,field2,field3) values ('value1',value2,'value3');
@SPavankalyan
@SPavankalyan 2 года назад
@@jainyjames1479 inserted but there is no pupup shown to admin page
@SPavankalyan
@SPavankalyan 2 года назад
Anybody help me no pupup shown to admin page
@vaishnaviii2731
@vaishnaviii2731 2 года назад
@@SPavankalyan check out data reader position is 0 or 8 if it is 8 then change it to 0 and check table name also
@kawaiinfi4080
@kawaiinfi4080 Год назад
How did you hardcoded admin credentials in MSQL database?
@rojapalakollu4212
@rojapalakollu4212 3 месяца назад
Did u get that ?
Далее
Create Login Page in Asp.net (MVC 5 & SQL Server)
16:03