public ActionResult ExchangeListRefresh(string ExchangeID)
{
string strExchangeID = ExchangeID.Substring(0, ExchangeID.Length - 1);
GTSoft.Web.BusinessService.DataExchangeService pDataExchangeService = new GTSoft.Web.BusinessService.DataExchangeService(_pLoginedInfo);
DataTable dt = pDataExchangeService.GetExchangeRate(strExchangeID);
return Json(dt);
}前台↑
dt中是只有一个字段ExchangeRate的数据,有三个值{100,100,80}。
我要怎么样让他传到前台,然后前台接收之后遍历出来,
我现在写得return Json(dt);会报错,说“获取后台数据出错,请刷新页面后再尝试!”
Smart猫小萌
茅侃侃
饮歌长啸
随时随地看视频慕课网APP