cancel
Showing results for 
Search instead for 
Did you mean: 

issue in code stage using C#

maryamAshkar
Level 2

Hello,

Since C# code stage of blue prism cannot detect the List exactly, we preferred to try DataTable with the DLL's and namespaces of

System, System.Data.dll, System.Xml.dll, System.Drawing.dll,

System, System.Data,  System.Drawing, System.Collections.Generic

. The code is:

DataTable dt = input;

Result=dt;

However, we have the problem of:

Description: Compiler error at line 2: The name 'input' does not exist in the current context, while I have created it in input part of code stage.

I would be grateful if someone can help me.

Thanks in advance


2 REPLIES 2

harish.m
MVP

hi Maryam,

Did you created  data table "input" and pass in to the  code stage input parameter?

----------------------- If I answered your query. Please mark it as the "Best Answer" [FirstName] [LastName] [Designation] [JobTitle] [City] [State] [Phone]

Hi, 

in other words, create input parameter collection and give the parameter name "input".

That should fix it.

Regards

Zdenek