Hello Bill.
Thank you for your reply. That is a very logical way to troubleshoot - I like it.
However, the issue resolved as I mentioned in my reply to Viv.
Thanks again for your help!
>EnumerableRowCollection refers to the results of a LINQ query, but that might be a misleading error relating to something entirely different.
>
>Here's how this fellow .NET newbie handled the problem of installing my first .NET app at a client who has a wide variety of workstations. The app uses winforms and accesses SQL and VFP data.
>
>I wrote 3 little apps.
>The first is Hello World in a winform.
>The second is the first with a simple SQL Query and update
>The third is the first with a simple VFPOLEDB Query and update.
>
>They all ran fine on my system, but each of the three, in certain cases, surfaced issues that had to be addressed on certain workstations.
>
>Once they all were dealt with, the large app which is quite complex, ran without a hitch.
>
>
>
>
>
>
>
>>>
>Ok - so I completed my first .NET app (desktop in vb.net and a asp.net web portion), compiled it in x86, install it on WindowsXP (32bit) and Windows 7 (64bit) machines, and it works great. - Hurray :-)
>
>Now i have some Windows XP 64 bit machines where i got an error right when I am starting the app (the desktop program). I think there was some mentioning about the System.Windows.Forms namespace.
>
>Well, so I am thinking to myself: "sure that makes sence, just recompile as "AnyCPU".
>
>Oops - maybe not. First i got some complaints about LINQ - so i converted that code to the System.Data.SqlClient stuff. Still everything works great on the other machienes (reinstalled).
>
>But now i get an error when compiling (not the code sections I converted) as follows (about 72 errors):
>
>Dim MasterTypeRow As DataTable = _
> Me.TableAdapterManager1.DocumentTypesTableAdapter.GetType_Level0( _
> Me.DocList(nRow, 3), Me.DocList(nRow, 4), Me.DocList(nRow, 5))
>
>' this following line triggers the error
>Dim MasterType As String = MasterTypeRow(0)("Type_level0")
>
>throughs the error:
>
>'ElementAtOrDefault' is not a member of 'System.Data.EnumerableRowCollection(Of System.Data.DataRow)'.
>
>Does anybody have an idea what i am missing here?
>
>Thank you for all your help!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only