Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions ADONETWithSqlServerMVCApp/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ public ActionResult DeleteRecord(int id)
}

// This action is used for Dummy page only
public ActionResult showData()
{
Employee emp = new Employee();
List<EmployeeAccessLayer> List_EmployeeAccess = emp.GetData();
return View(List_EmployeeAccess);
}
//public ActionResult showData()
//{
// Employee emp = new Employee();
// List<EmployeeAccessLayer> List_EmployeeAccess = emp.GetData();
// return View(List_EmployeeAccess);
//}
}
}
1 change: 1 addition & 0 deletions ADONETWithSqlServerMVCApp/DBAccessLayer/employee.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

/**
* This is used for Dummy page which is directly get data from database.
* this calss is not in use on application. It is used only for Dummy page.
*/

namespace ADONETWithSqlServerMVCApp.DBAccessLayer
Expand Down
1 change: 1 addition & 0 deletions ADONETWithSqlServerMVCApp/Models/EmployeeAccessLayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/**
* This is used for Dummy page.
* this calss is not in use on application. It is used only for Dummy page.
*/
namespace ADONETWithSqlServerMVCApp.Models
{
Expand Down
2 changes: 1 addition & 1 deletion ADONETWithSqlServerMVCApp/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<system.web>
<compilation debug="true" targetFramework="4.7.2"/>
<httpRuntime targetFramework="4.7.2"/>
<customErrors mode='Off'></customErrors>
<customErrors mode='On'></customErrors>
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# ado-basic-crud-app
This is a basic demo mvc application. In this application perform basic CRUD Database operations using ADO.Net.
Also used DataTable and Sweetalert js libraries for UI.
**This is a basic demo of ASP.NET mvc application. In this application perform basic CRUD Database operations using ADO.Net.**

**Note:** <br/>
*Create Database in your local Sql Sever.<br/>
Before running application, please make necessary changes in configuration and other files.<br/>
Replace db connection string with your local db connection string in web.config.*

Create Database in your local db i.e. Sql Sever.
Before running application, please make necessary changes in configuration and other files.
<br />

![Capture2 ss](https://user-images.githubusercontent.com/62343586/83490617-fa21ee00-a4cd-11ea-9e40-32c3c198b72e.PNG)


1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
1 change: 1 addition & 0 deletions google2255ba62f83b1529.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: google2255ba62f83b1529.html
Binary file added screenshots/Capture1.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/Capture2.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.