Hi All,

May I know how to write the codes to get the correct Username and Password when I Click on "submit" (stored in Access - User_Login.mdb)? Next, how to make the locked the Login Page until I entered the correct Username and Password? Because now even when i type the wrong password and username, it can still redirect the page.

Hope you can help me asap! :)


There are no such magic "codes". If you are storing username/password data in an Access database, you'll have to write the appropriate query to retreive them.

For authentication/redirection issues, research basic .NET Forms Authentication.

Thomas D. Greer,

Thanks for your advice! I'll go and do the research.=)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.