RE: Linq To Dataset Videos
- From: Alex. O. Koranteng <AlexK@xxxxxxxxxxxxxxxx>
- 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 zipped
file. 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 contain a
definition for 'AsEnumerable' and no extension method 'AsEnumerable'
accepting a first argument of type 'System.Data.DataTable' could be found
==============
the compiler is still complaining against some certain assembly that is not
referenced. 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 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>
Subject: RE: Linq To Dataset Videos
Date: Sun, 11 Jan 2009 14:56:00 -0800
below.
Steve,
Thanks for the code change suggestion. I have implemented your suggestions
for adding the appropriate extension. Now I am getting this error as
Any suggestion. I am emailing to you the zipped file----------------------------------------------------------------------------
Server Error in '/WebSiteCSharp' Application.
----
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.px.cs Line: 31
Compiler Error Message: CS1061: 'System.Data.DataTable' does not contain a
definition for 'AsEnumerable' and no extension method 'AsEnumerable'
accepting a first argument of type 'System.Data.DataTable' could be found
(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:
c:\MSDN\Videos\LInq\Code\CS-Orcas-LINQtoDataSet_cs\WebSiteCSharp\Default.as
to
""Steven Cheng"" wrote:
Hi Alex,
Regarding on the error message you provided, it seems the problem is due
found. Ithe "system.Data.Dataset.Extensions, version 2.0.0.0" assembly not
VSthink that assembly is of the former LINQ extension(used for .NET 2.0 +
3.52005 ). While currently the latest release of LINQ is provided by .NET
and VS 2008. It use the following assembly:
System.Data.DataSetExtensions, Version=3.5.0.0
- Follow-Ups:
- RE: Linq To Dataset Videos
- From: "Steven Cheng"
- RE: Linq To Dataset Videos
- 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"
- Linq To Dataset Videos
- Prev by Date: Re: scalability of single SqlConnection instance
- Next by Date: RE: LINQ Videos
- Previous by thread: RE: Linq To Dataset Videos
- Next by thread: RE: Linq To Dataset Videos
- Index(es):
Relevant Pages
|