Quantcast
Channel: ASPSnippets RSS Feed
Browsing all 4693 articles
Browse latest View live
↧

ASP.Net MVC: Insert Data to Database using jQuery AJAX

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...

View Article


ASP.Net MVC: Update data into Database using jQuery AJAX

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...

View Article


ASP.Net MVC: Submit Form using jQuery

Here Mudassar Ahmed Khan has explained with an example, how to submit (post) a Form and send data from View to Controller using jQuery AJAX in ASP.Net MVC Razor. This article will explain how to create...

View Article

ASP.Net MVC: Return Boolean (BOOL) value from ActionResult

Here Mudassar Ahmed Khan has explained with an example, how to return Boolean (BOOL) value from ActionResult (Action Method) in ASP.Net MVC Razor. In order to return a Boolean (BOOL) value from...

View Article

ASP.Net MVC EmptyResult Example: Return NULL (Nothing) from Controller to View

Here Mudassar Ahmed Khan has explained with an example, how to use EmptyResult in ASP.Net MVC Razor. EmptyResult is a class in ASP.Net MVC whose object is returned in case when NULL value or Nothing...

View Article


ASP.Net MVC: Delete Data from Database using jQuery AJAX

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...

View Article

ASP.Net MVC: Return NULL from ActionResult

Here Mudassar Ahmed Khan has explained with an example, how to return NULL (Nothing) from ActionResult (Action Method) in ASP.Net MVC Razor. There are two ways to return NULL from an ActionResult...

View Article

ASP.Net MVC VOID ActionResult: Controller Action method without return View

Here Mudassar Ahmed Khan has explained with an example, how to create a VOID ActionResult (Action Method) i.e. an ActionResult (Action Method) inside Controller that does not return View in ASP.Net MVC...

View Article


Using WebClient in ASP.Net MVC

Here Mudassar Ahmed Khan has explained with an example, how to use WebClient in ASP.Net MVC Razor. This article will illustrate how to call an API using the DownloadString method of the WebClient class...

View Article


ASP.Net: Call JSON API using C# and VB.Net

Here Mudassar Ahmed Khan has explained with an example, how to call a JSON API in ASP.Net using C# and VB.Net. The JSON API will be called using WebClient class in ASP.Net using C# and VB.Net.

View Article

ASP.Net: Get JSON response from REST API using C# and VB.Net

Here Mudassar Ahmed Khan has explained with an example, how to get JSON response from REST API in ASP.Net using C# and VB.Net. The JSON response from the REST API will be read using WebClient class in...

View Article

ASP.Net MVC: Call (Consume) external API inside Controller

Here Mudassar Ahmed Khan has explained with an example, how to call (consume) an external REST API inside Controller in ASP.Net MVC Razor. The external REST API will be called using WebClient class in...

View Article

ASP.Net MVC: Return Exception Error Message when using JSON and AJAX

Here Mudassar Ahmed Khan has explained with an example, how to return Exception Error Message when using JSON and AJAX in ASP.Net MVC Razor. This article will illustrate how to return the Exception...

View Article


ASP.Net Core MVC: Implement Search functionality using Entity Framework

Here Mudassar Ahmed Khan has explained with an example, how to implement Search functionality using Entity Framework in ASP.Net Core MVC. The Search functionality will be implemented using a Stored...

View Article

Entity Framework Core 2.1 Error: DBSet does not contain a definition for FromSql

Here Mudassar Ahmed Khan has explained with an example, how to solve the error related to FromSql function of Entity Framework in .Net Core 2.1. Error: DBSet<Entity> does not contain a definition...

View Article


ASP.Net Core 2.1: Call Stored Procedure with parameters in Entity Framework...

Here Mudassar Ahmed Khan has explained with an example, how to call Stored Procedure with parameters using Entity Framework in .Net Core 2.1. The Stored Procedures are called with parameters using the...

View Article

ASP.Net Core: Using FromSql function in Entity Framework Core 2.1

Here Mudassar Ahmed Khan has explained with an example, how to use the FromSql function of Entity Framework in ASP.Net Core. The FromSql function is used to execute SQL Queries and Stored Procedures...

View Article


ASP.Net Core: Pass Parameters to FromSql function in Entity Framework Core 2.1

Here Mudassar Ahmed Khan has explained with an example, how to pass parameters to the FromSql function of Entity Framework in ASP.Net Core. The FromSql function of Entity Framework accepts the...

View Article

Implement HttpHandler in ASP.Net MVC

Here Mudassar Ahmed Khan has explained with an example, how to implement HttpHandler (ASHX) in ASP.Net MVC Razor. The HttpHandler (ASHX) will fetch data from SQL Server database using Entity Framework...

View Article

ASP.Net Core: Execute RAW SQL with Entity Framework Core 2.1

Here Mudassar Ahmed Khan has explained with an example, how to execute RAW SQL using Entity Framework Core 2.1 framework in ASP.Net Core MVC. The RAW SQL Query will be executed using the FromSql...

View Article
Browsing all 4693 articles
Browse latest View live