public virtual ActionResult GetReportSnapshot()
{
var data = (ComparativeBalanceReportDS) TempData["ComparativeSession"];
StiReport report = new StiReport();
report.Load(Server.MapPath("~/Content/StimulReports/SampleReport.mrt"));
report.Compile();
report["fromDocumentNumber"] = "1";
report["toDocumentNumber"] = "85";
return StiMvcViewer.GetReportSnapshotResult(HttpContext, report);
}
私はストアドプロシージャをして実行し、デザイナーではなく、私はそれにパラメータを送信したときに 実行アプリケーションはありませんが、私は次のエラーを取得する:Stimulsoftにパラメータを送信するにはどうすればよいですか?
エラー:SqlCommand.Prepareメソッドは、すべての変数の長さが必要です明示的にゼロ以外のサイズに設定されたパラメータ。
私は何をしますか?