An ASP.NET MVC application which performs basic CURD operations and illustrates connection between application and database.
To get started with this project, follow these steps:
- Clone or download the repository to your local machine.
git clone https://github.com/notwld/AttendenceSystem
- Run
database_init.sql
andstored_procedure.sql
scripts in SQLServer. - Open the solution file in Visual Studio.
- Change the connection string in
ConnectionString.cs
"Data Source=*insert your server name*; Initial Cadtalog=*insert your database name*;Integrated Security = True;"
or
"Data Source=*insert your server name*; Initial Cadtalog=*insert your database name*;User=*insert your username*;Password=*insert your password*;"
Note: If there's an error in initializing a connection to SQLSever, make sure to start sql services and TCP/IP protocol enabled via SQL Server Configration Manager.
5) Run the application by pressing F5 or by clicking the Start button.