Posts

Crud Operation Using DataTable in ASP .Net MVC

Image
Introduction Here I am explaining   C rud operation using DataTable in Asp.net MVC Application. Datatable is a  plug-in for the jQuery Javascript library, it enhances our table by adding sorting, paging, and filtering abilities to plain HTML tables with minimal effort. So follow the procedure to add the Datatable in our MVC application Step 1:Create an MVC Application Step 2:  Select an Empty project template and select  MVC  from add folder and code reference Step 3: Use Database first approach to update Edmx and setup connection for more please follow this link   https://kmapwm.blogspot.com/2020/09/mvc-datepicker.html Step 4: Now we need to add the reference By default,  Visual   Studio  will not add a reference for us. For this Browse JQuery.UI.combined, Update Jquery, Bootstrap.datepicker,Jquery.datatables.net, FontAwesome  and toastr in Manage nugget package.   Controller: 1 2 3 4 5 6 7 8 9 10 ...

How to Add jQuery Datepicker in MVC

Image
Introduction Here I am explaining how to add a Datepicker in our MVC application. Calendar control is very useful in any application and in ASP.NET there are several the default server control to use but in MVC we have a lot of options to use calendar control which all are client-side control. So follow the procedure to add the  Datepicker   in our MVC application. Step 1:Create an MVC Application  Go to Create New project and select the Web tab and select ASP.Net Web Application(.net Framework) C# . Configure your new project Add a suitable name for your project and click the Create button. Step 2:  Select an Empty project template and select MVC from add folder and code reference. Step 3: A project solution has been created with some pre-defend controllers, scripts, and so on. Now Right, Click on the model add an ado.net entity model add a model name and click on Add   Button. Step 4:  select EF Designer from the database  and  click the...