Query with Dataset

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
 
C

Cor Ligthert[MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top