Naga_Varma
(Naga Varma)
October 18, 2018, 10:34am
1
Hi,
I am getting error like "AsEnumerable is not a memeber of System.Data.DataTable" when trying to use the below linq
*tb.AsEnumerable().Where(Function(r) r.Field(Of String)("Modul") = value).CopyToDataTable()
Could some one please help me
Thank You,
Naga Varma
loginerror
(Maciej Kuźmicz)
October 18, 2018, 10:48am
2
Hi @Naga_Varma
I will link two threads, one will be a solution and another an obligatory warning
Hi @lucas.mcgonagle
EDIT
20.10 fixed this issue for newly created projects.
You can fix it by adding the Assembly Reference manually in your xaml file:
[image]
Simply open the file in Notepad and create new line with this String:
<AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
Then reopen your project and the error should be gone.
Please be careful while doing so and always keep a backup.
Hi,
We would like to remind everyone that manually editing project files such as project.json or the .xaml files is NOT an officially supported way of solving issues.
It can lead to unexpected behaviours of Studio when interacting with your project. We cannot provide any guarantees that your project will continue to work after ill-advised changes.
Please be careful.
Thanks!
Please be careful