TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
padmapriya patruni
NA
74
117.6k
how to add json data into model in mvc 4
Sep 18 2015 12:53 AM
Hi ,
this is my code
StreamReader reader = new StreamReader(response.GetResponseStream(), Encoding.UTF8);
string message = reader.ReadToEnd();
my model name is 'DocumentManagementD' .
this 'message' having json data . i need to bind this json data to model in mvc 4 please help me.
that json data is :
{
"ResponseResult": [
{
"DocumentNumber": "123",
"DocumentName": "Resume",
"DocumentDescription": "<catalog><book id=\"bk101\"><author>Gambardella, Matthew</author><title>XML Developer's Guide</title><genre>Computer</genre><price>44.95</price><publish_date>2000-10-01</publish_date><description>An in-depth look at creating applications \r\n with XML.</description></book></catalog>"
}
]
}
Reply
Answers (
5
)
Searching a database and displaying results in a textbox c#
Add columns then bind rows in Grid view using Data table.