我想在我的 MVC 控制器 StimulSoft 中使用,我使用以下代码:
public ActionResult CardReport(CardReportViewModel model)
{
IAccount account;
if (model.AccountId != null)
account = _accountManager.Get(model.AccountId.Value);
else
account = _accountManager.Get(project, model.AccountCode);
model.AccountId = account.Id;
model.AccountCode = account.Code;
var rptt = new StiReport();
rptt.Dictionary.Synchronize();
rptt.RegBusinessObject("test", model);
rptt.Show();
return View(model);
但我什么也没看到,我的 cshtml 文件中没有使用任何东西