Solved Code Stage - c#

Status
Not open for further replies.
How to use a collection as input in Code stage while writing in C# Programming language?

Whenever I am using the collection in the code, It is showing the error as some reference missing. May I know which additional reference to be used for this to work apart from inbuilt ones?

I have one collection in inputs section, nothing in outputs and code section. When I check code it shows the error attached.

I tried Microsoft.VisualBasic but it didnt work well. Can I have suggestions please to make it work. Thanks in advance.
 

Attachments

  • CodeStage - Screenshot.png
    CodeStage - Screenshot.png
    78.7 KB · Views: 413

adebroise

RPA Ninja
Staff member
@Naga Mounika Gella if you're using collections within a code stage then they're handled as System.Data.DataTable.

Make sure you've added System.Data within Initialise, Business Object Properties, Code Options.
 
@adebroise the namespace System.Data I included. But the thing is it is working with Visual Basic but not with C#. I use C# to write my code, so I need a namespace or dll to be used to eliminate this particular error.
 
Status
Not open for further replies.
Top