Category - Entity Framework
Results 1 - 5 of 261
30 Apr 2021 30 Apr 2021 0 Comments  307 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete data from Database using jQuery AJAX and Entity Framework in ASP.Net MVC Razor.

When the Delete Button is clicked, the DeleteCustomer Action method of the Controller is called using jQuery AJAX and the details of Customer are sent as JSON object.

Finally, a Customer object is sent to the View which indicates that the record was successfully deleted or not.
29 Apr 2021 29 Apr 2021 0 Comments  323 Views
Here Mudassar Ahmed Khan has explained with an example, how to update data into Database using jQuery AJAX and Entity Framework in ASP.Net MVC Razor.

When the Update Button is clicked, the UpdateCustomer Action method is called using jQuery AJAX and the details of Customer are sent as JSON object.

Finally, a Boolean response is sent to the View which indicates that the record was successfully updated or not.
28 Apr 2021 28 Apr 2021 0 Comments  329 Views
Here Mudassar Ahmed Khan has explained with an example, how to insert data to Database using jQuery AJAX in ASP.Net MVC Razor.

The data will be inserted in SQL Server Database using Entity Framework in ASP.Net MVC Razor.

Finally, after insertion the ID of the inserted Customer record is returned back to the View in ASP.Net MVC Razor.
28 Apr 2021 28 Apr 2021 0 Comments  334 Views
Here Mudassar Ahmed Khan has explained with an example, how to get data from Database using jQuery AJAX in ASP.Net MVC Razor.

This article will illustrate how to use jQuery AJAX function to get data from SQL Server database and then populate the data in an HTML Table using ASP.Net MVC Razor.
28 Apr 2021 28 Apr 2021 0 Comments  244 Views
Here Mudassar Ahmed Khan has explained with an example, how to save Form data to Database using jQuery AJAX in ASP.Net MVC Razor.

When the Add Button is clicked, the InsertCustomer Action method is called using jQuery AJAX and the details of Customer are sent as JSON object.

Finally, after insertion the ID of the inserted Customer record is returned back to the View in ASP.Net MVC Razor.
Results 1 - 5 of 261