My question is i want to bind list data in text boxes in my pages.Below is the my list data **
I successfully binded indivisual data like** "ProductId":2,
ProductInfo":[{"Key":"Size","Value":"Small"},{"Key":"Color","Value":"Red"},{"Key":"Gender","Value":"Male"},{"Key":"Price","Value":"$150.00"},{"Key":"Description","Value":"Test Product Decription--DY"},{"Key":"Description","Value":"Test Product Decription--DY"}],
Here i want to bind the productinfo data.Like i want to bind "color" details in one textbox that is "red" and as well as bind all remaining data in respective textboxes.
in my mvc views page i bind productid value using below code snippet
first in my view page i give reference to the respective model
@model WebShopdesigns.EShop.UI.Dvo.Mvc4.Cart.Prtidlookupdvo
@Html.TextBoxFor(m =>m.Productid)
Please let me know how to bind list data that is key value pair data in text boxes