Question
the following database stored in university.mdf file. And its connectionString is: Data Source=(LocalDB)MSSQLLocalDB;AttachDbFilename=|DataDirectory|university.mdf;Integrated Security=True;Connect Timeout=30 The database consists of the following tables: 1. Student (
the following database stored in university.mdf file. And its connectionString is: Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\university.mdf;Integrated Security=True;Connect Timeout=30
The database consists of the following tables:
1. Student (ID: int, name: varchar(30), address: varchar(30), password: varchar(15))
2. Course (cno:int, cname:varchar(20),crs:int)
3. Enrolled (stno: int, cno: int, grade: int)
Build a project that has two pages as described below:
login.aspx: allows the student to enter his ID and password using two text boxes and then clicks a button. After clicking the button, the student is either forwarded to another page named main.aspx if his ID and password are correct (same as those stored in the database). Otherwise, a message is displayed on a label (or using a message box) indicating that student ID or password are incorrect
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started