C# MS Access Database Tutorial 2 # Create Login Form with Microsoft Access Database

preview_player
Показать описание
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

Login Program for C# with MS Access Database
Access Login Database - Microsoft Access
How To Make A MS Access Login Form
How to create login form in Microsoft Access 2010, 2007
Visual C# - Login Form Tutorial Microsoft Access
c# - How can I close a login form and show the main form
Login Form using C# and SQL Microsoft Access
C# Login Form with MS Access
Login Form using c# and ms access as database..?‎
closing Login form after a successful Login in C# form‎
create a login form using c#‎ Microsoft Access
C# program to connect to MS Access Database ysql
php login code MS Access Database Microsoft Access
Login Source Codes Microsoft Access
Code for login form in c#
C# Login form Searches related to c# login form
java login form
visual basic login form
visual studio login form
c# login form template
c# login form access database
c# login form example
c# login form code
c# login form sql
create login page contain user id,password,buttons
MS Access Database C# sample code
Рекомендации по теме
Комментарии
Автор

great video and excellent explanation! 7 years later and it is still useful, thanks for your work, your videos really helped me!

bruno-vtbe
Автор

Aoa brother
Programming Knowledge is my favorite channel.Your videos are very helpful for me, you demonstrate every thing in a simplest way.Thanks a lot

haseebahmed
Автор

thanks for these tutorials! Optionally when moving the OleDB object assignment up below the class declaration you can place the connection string in the parentheses of the ending object like this: private OleDbConnection connection = new Source=Path;Persist Security Info=False;"); and you don't need the separate .connectionString function call under initialize component.

RollinShultz
Автор

Very clear and useful lesson. Thank you very much. Go ahead!

vladimirblum
Автор

You are really awesome. Thank you once again for the video.

moscovita
Автор

Good explanation for c# newbie. thumbs up for you bro! But still, there's an error at incorrect statement where you need an else if instead of just else. :)

ralphresma
Автор

Hi @ProgrammingKnowledge, how you doing? very good video, I just have a question regarding the oledbconnection class why do we have to separate the instance of oledbconnection classs from the connection string. Apparently, the oledbconnection class was declared inside the partial class, and the connection string was put inside the constructor of the partial class thank you hope you can give me a little explanation.

jerhummemarcelo
Автор

Thanks a lot, your videos are very helpful but i have a few questions. when querying the database, you queried the username and password columns at the same time. is there a way there a way they can be queried separately e.g in a case where a user enters a wrong username and it prompts the user that a wrong username has been entered. i tried splitting the username and password query, it gave me an error message, and many other videos online also query the username and password column together. i'll be grateful if you can help me out with this. thanks

thenameisdoe
Автор

@ProgrammingKnowledge Like a register screen, If it has duplicate then it wont let the user insert it

teronkee
Автор

That second 'if' should be 'else if', otherwise you'll get both the correct and not correct messagebox

jacobpayne
Автор

You made a mistake by adding the second if. This can never work. The program will say that the username and password is correct but just after this messagebox you get another messagebox who says that the username and password is not correct. You can fix this by changing the second if into an else if ;-)

duncanryckaert
Автор

Thank bro It really helped me a lot.
رد

WIKIKALI
Автор

The code doesn't work well in my case. It connects to access "connection successful", but when I entered username and password, then pressed login button, nothing comes out as an output. Can someone please help me?

phyusinlinlatt
Автор

I have an error. It says:
InvalidOperationException was unhandled.
ExecuteReader: Connection property has not been initialized.

please help to fix this. pretty T_T

ZynTrr
Автор

Please try to provide previous video and next video link in description. Good work.

ashwinibhujbal
Автор

@ProgrammingKnowledge
Can you create a register screen with same format Duplicate Username ? It's pointless to have duplicate if u log in right?

teronkee
Автор

What if do you have more than 1 table in you database? How the query will be?

SoulDevil
Автор

I have an error in db connection. I'm using MS Access 2019 but I saved in 2003 old version for compatibility.

VelvetSapphire
Автор

i havent tried the code myself, but by looking at the query it feels like any username will be able to use any password, shouldnt he reference the ID to confirm that the password is the right one ??

helenaviljoen
Автор

thanQ
but it shows OleDbException was unhanded
what should i do?

zenabmuhammed