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);会报错,说“获取后台数据出错,请刷新页面后再尝试!”
- 2 回答
- 0 关注
- 958 浏览
相关问题推荐
添加回答
举报
0/150
提交
取消