Create a login form and validate a user based on their login

Assignment Help Database Management System
Reference no: EM131748923

Scenario/Summary

In this week's lab, we will create a login form, validate a user based on their login name and password, and allow them to access the system or not. We will assign a session variable to determine the user's level of security and allow certain functions to be displayed or not displayed in the existing frmPersonnel form depending on the assigned security level.

(NOTE: In some cases, the instructions for this lab will be less specific than in earlier labs, because you are expected to apply what you have learned in earlier weeks. Refer to the detailed instructions in previous weeks' labs if you need to do so.)

Please watch the tutorial before beginning the Lab.

Transcript Transcript

Deliverables

When you try to log in, if you use User Name = Mickey and Password = Mouse, the frmMain form should open with all links visible. If you use User Name = Minnie and Password = Mouse, the frmMain form should open with only the Salary Calculator, View Personnel, and Search options available. You will have a new option called Manage Users that will allow you to add new users and remove or update existing users. Once you have verified that it works, save your website, zip up all files, and submit it.

Note on database connections: We are using a SQLDataSource control for the Edit employees feature that we added. You should be using the connection string stored in the web.config file for your database connection for this control. Rather than creating a new connection each time, just use this connection.

If you change the folder where your website is stored (e.g., you copy each week's work to a new location), you will need to update the web.config. The advantage of using the database connection in the web.config is that you only have to set the configuration in one location.

Before starting this week's lab, make sure that everything is working and that all database connections are properly configured.

Reference no: EM131748923

Questions Cloud

Discuss how many times have you been to formentera : Matthieu Ricard the happiest man on earth abandoned a successful scientific career
How are marine life issues portrayed in documentaries : How are marine life issues portrayed in documentaries? Was it produced by a scientist or filmmaker? Are you inspired to take action after watching the video?
Discuss about the delphi technique : Review of a scholarly article on one of the following brainstorming techniques, the Delphi technique, brainstorming, or nominal group technique.
Problem related to harwick co : Information related to Harwick Co. is presented below. On April 5, purchased merchandise from Botham Company for $32,400, terms 3/10, net/30.
Create a login form and validate a user based on their login : Create a login form, validate a user based on their login name and password, and allow them to access the system or not.
Identify the usefulness of the information : What information can be used, besides the financial statements of an organization, when analyzing its financial health? Being detailed in your response.
What behaviors you would expect to see : What behaviors you would expect to see (breeding, feeding, migrating, etc)? In what way would you be able to interact with them?
Analyze the need for having more advanced wireless network : Compare the typical wireless networking equipment used in a home or small-office wireless network to that of a corporate wireless network.
What is the capital gain on the asset : After 10 years, the property was sold in the 11th year on September 2017 for $2M. The land cost was apprised at $100,000 for tax purposes.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd