Questions tagged [datasetextensions]

6 questions
1
vote
1 answer

System.Data.DataSetExtensions in Mono

I believe the following should work: IEnumerable d = myDataTable.AsEnumerable(); But it doesn't! I get: Error CS1061: Type System.Data.DataTable does not contain a definition for AsEnumerable and no extension method AsEnumerable of type…
Ben B.
  • 3,706
  • 5
  • 26
  • 27
1
vote
1 answer

Could not load file or assembly 'System.Data.DataSetExtensions, Version=3.5.0.0

I have a C# Console Application that uses System.Data.DataSetExtensions that I can run smoothly on the client's server through the command line. The only thing I did was to copy the bin/Release directory contents to a specific directory on the…
0
votes
1 answer

System.Linq.Dynamic ´s .Where will be misinterpreted

I've build a large program with many references. F.e.: System.Data.DataSetExtensions System.Linq.Dynamic I've to write a Dynamic Linq…
Xennon
  • 25
  • 5
0
votes
1 answer

Split DataTable without using AsEnumerable()

I am writing a C# script that will be run inside another project that makes use of the C# compiler. This engine does not have System.Data.DataSetExtensions referenced nor will it be allowed to do so. That being said I still need to take a DataTable…
webworm
  • 10,587
  • 33
  • 120
  • 217
0
votes
1 answer

Add delegate expression as a parameter

I am trying to create a way to run some dynamic linq on a data table, the code I have pasted is test code not my full code that I am working on, but I think it is enough to get across what I am attempting to do. Essentially I want to add a second…
-2
votes
1 answer

How to Datatable select with multiple FirstOrDefault variables in VB.NET

I want to do datatable select multiple but it doesn't work yet. Please guide. For 2 variables, CodeProduct and Barcode, I've succeeded but to add 2 variables, ColorCode and Size, I still fail Public dt As New DataTable() Protected Overrides Sub…
roy
  • 693
  • 2
  • 11