I try to get pdf report by stimulsoft but get this error.
Incorrect syntax near '@StartDate'. Statement(s) could not be prepared
I test my stored procedure and table function in sqlserver and worked currently.but when I try to run VeiwData in dictionary window get me this error. Query text in stimulsoft :
execute ProceGetCharterReportPdf (@StartDate,@endDate,@top,@AgencyName)
Type of @StartDate,@endDate,@AgencyName
is nvarchar in report file and stored procedure and function .Type of @top
is int
.