startnet.ajax传参

 

CS:

AjaxOutputter output = new AjaxOutputter();
ParameterSet _ps = new ParameterSet();
Parameter _p = new Parameter("AutoAccountCode", DataType.STRING);
string accountCode = (Convert.ToInt64(AccountDao.Singleton.SelectMaxAccountCode()) + 1).ToString();
_p.SetString(accountCode);_ps.Add(_p);
output.AddResult(_ps);

JS:

var _ps = Starnet.ParameterSet.deserializeXml(resultXml);
var _autoAccountCode = _ps.getParameter("AutoAccountCode").getValue();	

posted on 2009-05-07 17:09  Ryan.L.R  阅读(134)  评论(0)    收藏  举报

导航