I’m trying to Add this string DT1_completed.AsEnumerable().Any(Function(x) x(“Account Type”).ToString =“DOSRI”) inside an IF activity. I get this error–>
Compile Error: “AsEnumerable” is not a member of “System.Data.DataTable”
I tried creating a new script and it’s working but in the script I’m working keeps getting this error.
Appreciate any help
@VegitlX_HuNteR Follow these Steps and Check :
Open your Main.xaml File in Notepad or Notepad++ or any other Editing Tool.
Then Add the Highlighted Reference as an Assembly Reference in the Assembly Reference Section as Shown in the Below Image.
Make sure to Close your xaml and then after the Edit open it again.
@VegitlX_HuNteR Kind of a Bug , Yes It will affect, It will add the DataSetExtension Assembly, Not any damage to your Original project though if you add the Assembly Reference Carefully as mentioned.
This link may help you,
20.10 fixed this issue for newly created projects.
You can fix it by adding the Assembly Reference manually in your xaml file:
Simply open the file in Notepad and create new line with this String:
Then reopen your project and the error should be gone.
Please be careful while doing so and always keep a backup.
This is what it shows in the projet I’m working on.
the tag shows <x:String> and not .
@VegitlX_HuNteR Can you Scroll Down and Check
@VegitlX_HuNteR Was it already present or did you add it now?
Already added it and the initial test did work
still testing further if this really 100% functioning. Will let you know once done doing the test.
It works perfectly updating the xaml with the line you mentioned.
Thanks for your help “again”