RE: Linq To Dataset Videos
- From: stcheng@xxxxxxxxxxxxxxxxxxxx ("Steven Cheng")
- Date: Thu, 15 Jan 2009 03:19:22 GMT
Hi Alex,
I've tested the project you sent me and replied you with modified project
and suggestions.
Regards,
Steven
--------------------
From: stcheng@xxxxxxxxxxxxxxxxxxxx ("Steven Cheng")0
Organization: Microsoft
Date: Wed, 14 Jan 2009 02:32:31 GMT
Subject: RE: Linq To Dataset Videos
that
Hi Alex,
My previous reply means the problem is possibly caused by the project
missing some assembly references. You can try adding the following
assemblies to project reference if they haven't been referenced originally:
System.Data.Linq.dll
System.Data.Entity.dll
Also, it seems I haven't received your new zip package. Is it possible
it has been blocked mail server due to large file size? You can tryzipped
simplified the code and try to avoid including mdf database file(that'll
make the project very large). You've also sent you an email on this.
Looking forward to your reply.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
--------------------
From: =?Utf-8?B?QWxleC4gTy4gS29yYW50ZW5n?= <AlexK@xxxxxxxxxxxxxxxx><SU7XqcHcJHA.2056@xxxxxxxxxxxxxxxxxxxxxx>
References: <BC9CD314-F04E-49D7-9C8B-5EE63575F704@xxxxxxxxxxxxx>
<2B656582-3BE0-43EF-BB9B-47B7DBBCE145@xxxxxxxxxxxxx>
<IKnHM1IdJHA.2056@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Linq To Dataset Videos
Date: Tue, 13 Jan 2009 15:19:01 -0800
Steve,
I am not clear on what to do to reslove my problem. I emailed you a
containfile. could you take a look at it and offer me suggestions.
""Steven Cheng"" wrote:
Hi Alex,
Thanks for your followup.
Based on the further error message you attached below
===============
Compiler Error Message: CS1061: 'System.Data.DataTable' does not
a-
founddefinition for 'AsEnumerable' and no extension method 'AsEnumerable'
accepting a first argument of type 'System.Data.DataTable' could be
not==============
the compiler is still complaining against some certain assembly that is
andreferenced. I haven't received the project you sent me yet, would you
verify it? Also, would you please list all the "assemblies" you've
referenced in your project here so that I can have a look and verify
whether there is any necessary assembly that is missed.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
Pleasesuggestions about how we can improve the support we provide to you.
suggestionsfeel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
--------------------
From: =?Utf-8?B?QWxleC4gTy4gS29yYW50ZW5n?= <AlexK@xxxxxxxxxxxxxxxx><SU7XqcHcJHA.2056@xxxxxxxxxxxxxxxxxxxxxx>
References: <BC9CD314-F04E-49D7-9C8B-5EE63575F704@xxxxxxxxxxxxx>
Subject: RE: Linq To Dataset Videos
Date: Sun, 11 Jan 2009 14:56:00 -0800
Steve,
Thanks for the code change suggestion. I have implemented your
---------------------------------------------------------------------------for adding the appropriate extension. Now I am getting this error asbelow.
Any suggestion. I am emailing to you the zipped file
Server Error in '/WebSiteCSharp' Application.
scontain a----
required
Compilation Error
Description: An error occurred during the compilation of a resource
to service this request. Please review the following specific errordetails
and modify your source code appropriately.
Compiler Error Message: CS1061: 'System.Data.DataTable' does not
founddefinition for 'AsEnumerable' and no extension method 'AsEnumerable'
accepting a first argument of type 'System.Data.DataTable' could be
c:\MSDN\Videos\LInq\Code\CS-Orcas-LINQtoDataSet_cs\WebSiteCSharp\Default.a(are you missing a using directive or an assembly reference?)
Source Error:
Line 29:
Line 30: //*Simple query of one column
Line 31: var query1 = from emp in
dataSet.Tables["Employee"].AsEnumerable()
Line 32: select new { LastName =
emp.Field<string>("LastName") };
Line 33:
Source File:
2.0duepx.cs Line: 31
""Steven Cheng"" wrote:
Hi Alex,
Regarding on the error message you provided, it seems the problem is
to
found. Ithe "system.Data.Dataset.Extensions, version 2.0.0.0" assembly not
think that assembly is of the former LINQ extension(used for .NET
+
.NETVS
2005 ). While currently the latest release of LINQ is provided by
3.5
and VS 2008. It use the following assembly:
System.Data.DataSetExtensions, Version=3.5.0.0
.
- References:
- Linq To Dataset Videos
- From: Alex. O. Koranteng
- RE: Linq To Dataset Videos
- From: "Steven Cheng"
- RE: Linq To Dataset Videos
- From: Alex. O. Koranteng
- RE: Linq To Dataset Videos
- From: "Steven Cheng"
- RE: Linq To Dataset Videos
- From: Alex. O. Koranteng
- RE: Linq To Dataset Videos
- From: "Steven Cheng"
- Linq To Dataset Videos
- Prev by Date: Reflection
- Next by Date: Re: Reflection
- Previous by thread: RE: Linq To Dataset Videos
- Next by thread: "Right" way to delete a datatable record using auto-generated ADO.Net objects in C# 2005
- Index(es):
Relevant Pages
|