Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Linq Blues
Message
 
To
14/01/2015 10:02:54
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
C# 4.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01613589
Message ID:
01613609
Views:
42
>What type is customers?

It's a DataTable. Extracted from an Odbc datastore. Not sure either whether this is the smartest type to keep my table information in, but it's the only one I'm familiar with, well ...

Thanks for caring.
DataRow r1 =customers.AsEnumerable().First(r => (r("ID") == ID));
>
>>Right. Many thanks. I applied .First() to r1, but that did not work.
>>
>>In fact it all boils down to :
>>
>>
>>DataRow r1 =customers.AsEnumerable().First(r => (r("ID") == ID));
>>
>>

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform