Parameters out of range

Parameters out of range

Forum member · Feb 23, 2015
I have previously been using a query as follows: select * from dbo.bill where billID = #Parameters["BillID"]# To use this I was passing in the parameter dictionary as follows: ParameterDictionary parameters = new ParameterDictionary(); parameters.Add("BillID", id); This is working as expected however when I add another parameter and attempt to attach it to records box by using Parameters["Tariff"] or #Parameters["Tariff"]# then I am getting an index out of range error. I have checked that the code below contains 2 parameters: ParameterDictionary parameters = new ParameterDictionary(); parameters.Add("BillID", id); parameters.Add("Tariff", id); Any ideas as to what is causing this problem?

Re: Parameters out of range

Support · Feb 23, 2015
Hello, Please send over the following details to [^a|mailto:support@cete.com|opennewwindow|support@cete.com^] so that we can look into it further? 1. DPLX file. 2. Full error message along with stack trace. 3. Exact version and build number of the DynamicPDF DLL file. You can get this information in DLL reference properties (Version and Descriptions fields) in Visual Studio. Thanks, ceTe Software Support Team.