Step 1: First create an empty MVC application
Layout = null;
}
@ViewBag.Data
Step 5 :Run the application
Done :)
Step 2:Create Employee class in Model folder
Step 3: To converts List<Employee> objects to a JSON string we will use Serialize() method of JavaScriptSerializer class.
For that First Create a Empty Home Controller and Paste the Below code.
Step 4 : Create the Index view and write the below code
@{Layout = null;
}
@ViewBag.Data
Step 5 :Run the application
Done :)
simply superb,mind blowing, i will share your blog to my friends also
ReplyDelete.NET Online Training Hyderabad