Convert MVC WebGrid data into JSON string and use it in controller

In this article I will demonstrates how to generate the JSON string from the WebGrid data in your MVC web application. In addition, you will learn how easy it is to use this JSON data in your controller. I assume that you have some basic knowledge of the MVC framework so I am not describing that how to start the MVC project from the scratch. Continue reading “Convert MVC WebGrid data into JSON string and use it in controller”

Create JSON string from the Dataset in C# and VB.Net

In this post I am describing a example by which you can create the JSON string from the datatable object. After creating the JSON from the datatable, You can use it on the client side through the JavaScript. Continue reading “Create JSON string from the Dataset in C# and VB.Net”

500 – Internal server error when i try to retrive large json value from web method

This is the very common error when you try to get the large json value from web method. You can get the 500 – Internal server error page on your site. And you are confirm that you have very large json length then you can change the JSON serialization setting through the your web.config file. Continue reading “500 – Internal server error when i try to retrive large json value from web method”