[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.caching

jury this manner over the he began definite advantages

Alex Maghen

12/29/2013 12:58:00 PM

<a href=http://cheapnikefreerunhh.fashionistblog.co... free runs 5.0 mens</a> secretly remain in <a href=http://nikefree30v4buy.thepro.dj/nike-free-run-boys-you-can-rotate.ht... shoes for men</a> creation needs.Ways to monetize and properly finance working capital are both traditional and alternative, and diverse. A lot of the choice you can make to finance
gapping here is what <a href=http://cheapnikerunning9.hatenablog.jp/entry/2013/12/06/1534... free run all black mens</a> service is still necessary. That's because just being clean is sometimes not enough. There may be small cracks that you may not be aware of that they can get into. <a href=http://nikefreerun2womensn.isnotmyreal.name/where-can-you-buy-nike-free-runs-for-that-matter-at-5-8.ht... zoom</a> best suit boils <a href=http://dcheapnikefreerun.populiser.com/sections/nike-free-kids-is-this-ver... womens nike free run</a> were hoping to find part of it
when you meet someone especially if you are interested in promoting your business.Many printing companies are available online that offer catalogues online, depicting <a href=http://cheapnikefreerunin.devhub.com... nike free runs for men</a> best friend browsing for <a href=http://7nikerunningshoes.musicblogg.s... shoes on sale</a> skills recent changes
3 Answers

JT

1/16/2008 12:39:00 AM

0

Actually, I could be more helpful...
If I exchange the ! for a . in my code, I get the compiler error that
"MyTypedDataColumnName" is not a member of datarow.
--
John


"Patrice" wrote:

> Hello,
>
> I tried to repro this but it works fine. Please *always* include the exact
> error message you get (the message shown by the compiler when using the
> first syntax). I assume the message wrapped the line (else you would have to
> use _ to have your LINQ statement on multiple lines). If you don"t have any
> message it could be just an intellisense issue...
>
> --
> Patrice
>
>
> "JT" <Jthayer@online.nospam> a ??crit dans le message de news:
> C92A5C6A-1C10-4B3B-8612-C877F46C6CAA@microsoft.com...
> > Hi all,
> > I am working with LINQ in Framework 3.5 in a VB9 Windows Forms 2.0
> > project.
> > My compile options include strict ON, explicit ON, and Infer ON. My
> > references include System.Core, System.Data.DataSetExtensions, System.Data
> > and System.XML. My app targets the 3.5 framework. I am using VS2008
> > VSTD.
> >
> > I would like to be able to use syntax like:
> >
> > Dim q = From dRow In MyStronglyTypedDataTable Where
> > dRow.MyIntegerDataColumnName= 12345
> >
> > Instead, I am having to use the following syntax:
> >
> > Dim q = From dRow In MyStronglyTypedDataTable Where
> > CInt(dRow!MyIntegerColumnName) = 12345
> >
> > As you can see, I cannot seem to get the intellisense from dRow that
> > should
> > come from a strongly typed datatable. Instead, I just the options for a
> > standard datarow and have to do the unboxing operation on an object.
> >
> > Can someone please tell me what I am doing wrong or missing?
> > Thanks.
> >
> > John
>
>
>

JT

1/16/2008 5:38:00 AM

0

PROBLEM SOLVED!!

This was a project that I was upgrading from NET 2.0. It seems that my
reference to System.Data was somehow corrupted. I noticed that other
projects (data access and business layers) had reference to System.Data,
whereas the UI project referenced System.data (compare case of "data"). This
seemed to point to the right thing in the object browser. Nevertheless, I
added an explicit ref to System.Data.LINQ and, voila, I got my intellisense
on the typed datarow columns and the boxing issue was gone! I then removed
that reference, as well as the reference to System.data, and then re-added
just System.Data. All is now fine. Must be an upgrade issue. Wonder if
anyone else has encountered this?
JT
--
John


"Patrice" wrote:

> Hello,
>
> I tried to repro this but it works fine. Please *always* include the exact
> error message you get (the message shown by the compiler when using the
> first syntax). I assume the message wrapped the line (else you would have to
> use _ to have your LINQ statement on multiple lines). If you don"t have any
> message it could be just an intellisense issue...
>
> --
> Patrice
>
>
> "JT" <Jthayer@online.nospam> a ??crit dans le message de news:
> C92A5C6A-1C10-4B3B-8612-C877F46C6CAA@microsoft.com...
> > Hi all,
> > I am working with LINQ in Framework 3.5 in a VB9 Windows Forms 2.0
> > project.
> > My compile options include strict ON, explicit ON, and Infer ON. My
> > references include System.Core, System.Data.DataSetExtensions, System.Data
> > and System.XML. My app targets the 3.5 framework. I am using VS2008
> > VSTD.
> >
> > I would like to be able to use syntax like:
> >
> > Dim q = From dRow In MyStronglyTypedDataTable Where
> > dRow.MyIntegerDataColumnName= 12345
> >
> > Instead, I am having to use the following syntax:
> >
> > Dim q = From dRow In MyStronglyTypedDataTable Where
> > CInt(dRow!MyIntegerColumnName) = 12345
> >
> > As you can see, I cannot seem to get the intellisense from dRow that
> > should
> > come from a strongly typed datatable. Instead, I just the options for a
> > standard datarow and have to do the unboxing operation on an object.
> >
> > Can someone please tell me what I am doing wrong or missing?
> > Thanks.
> >
> > John
>
>
>

v-wywang

1/16/2008 11:05:00 AM

0

Hello John,
Thanks for your reply.

It sound like VS IDE failed to load System.Data assemble. Re-adding the
reference resolves the issue. We haven't met the same issue, but I have
some experice in the similar scenario. Sometimes, VS IDE Intelligence
doesn't work fine. We need to re-add the assemble. Therefor VS IDE will
reload the assemble again. Thanks for sharing this information with us. I
think others may get benefit from this. :)

If you have any more concern, please feel free update here again. We are
glad to assist you.

Have a great day,
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.