Query with Dataset

  • Thread starter Thread starter Roberto
  • Start date Start date
R

Roberto

Hello

I'm usign c#2005 and I need to create a query from a dataset with 7 tables
and some relationship.
The data is inserted into dataset tables manually ( without any database ).
I see there is the linq (?) to create this type of query but , if I
understand , this can be used only in the .NET 2008.

What can I do ?

Roberto
 
Hi Roberto,

Do not use anything from Linq that is build for C# before 2008, the designs
changed and before 2008 it was more a kind of showing what it could be. I've
only seen deceptions about using that.

If you can switch to version 2008 and use Framework 3.5 (because that you
need and that is not available for 2005) or simply use the DataView Filter
or the DataTable Select. (However, be aware that the very simple DataTable
Select was probably an important reasons for Linq)

If you use C# 2005 Express which is in fact only C# 2005 because the name in
Visual Studio 2005 is C#2 then I would in your case direct download C# 2008
Express and use that. (Don't forget to set the framework then to 3.5 to be
able to use Linq)

http://msdn.microsoft.com/en-us/library/bb386977.aspx

Success

Cor
 
Back
Top