Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Here is the code:

 

ReportDocument rptShippingList;

rptShippingList = new ReportDocument();

rptShippingList.Load(Application.StartupPath+ "\\FullCartonPickingInstructionList.rpt");

ParameterDiscreteValue y = new ParameterDiscreteValue();

y.Value = "Transfer";

ParameterValues x = new ParameterValues();

x.Add(y);

ParameterField param = new ParameterField();

param.Name = "Transfer";

param.CurrentValues = x;

rptShippingList.ParameterFields.Add(param); <---Problem:confused:

 

Everything is fine until the last line. I got a NotSupportedexception which I have not idea what the problem is :( I have already search the web but no one seems to have such problem! Anyone know what's going on here?

 

Thanks in advance!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...