0
如何將此Json return語句中的所有點顯示在我的視圖上的HTML表中?將Json響應轉換爲HTML表
return Json(
new
{
vol = exposure.Volatility,
points =
from point in exposure.ExposurePointCollection
select new
{
date = point.ExposureDate,
val = point.MaximumExposure
}
});
我在什麼基本上困惑語法看起來像在JQuery或Javascript中循環遍歷這個對象 – slandau 2010-12-20 18:19:10
我編輯了我的回覆以包含示例和鏈接。 – 2010-12-20 18:48:56
謝謝!那正是我想要的 – slandau 2010-12-20 19:07:05