|
| Simple linq query ? |
 |
Wed, 2 Apr 2008 02:54:11 +0000 |
Hi
Im a newbie wrt LINQ and would like to know the correct way i go about
retrieving a specific column value from a retreived row in linq.
Hope that makes sense. Thanks for help in advance. I've read books and watched
so many videos and i just know how to query databases/datasets and bind results
to controls.
|
| Post Reply
|
| Re: Simple linq query ? |
 |
Wed, 2 Apr 2008 04:46:08 +0000 |
http://blog.benhall.me.uk/downloads/cheatsheets/LINQ%20To%20SQL%20Cheat%20Sheet%
20Version%201.pdf
good starting point to learn linq
|
| Post Reply
|
| Re: Simple linq query ? |
 |
Wed, 2 Apr 2008 07:53:04 +0000 |
Here is another good one
http://aspnetresources.com/downloads/linq_standard_query_operators.pdf
|
| Post Reply
|
| Re: Simple linq query ? |
 |
Wed, 2 Apr 2008 08:04:18 +0000 |
Check out these links..
http://weblogs.asp.net/scottgu/archive/2007/04/21/new-orcas-language-feature-que
ry-syntax.aspx
http://weblogs.asp.net/scottgu/archive/2007/04/08/new-orcas-language-feature-lam
bda-expressions.aspx
|
| Post Reply
|
| Re: Simple linq query ? |
 |
Wed, 2 Apr 2008 09:09:39 +0000 |
love the cheat sheet! thanks.
ok say for example i have the following query :Dim db4 AsNew
EasiDataClassesDataContext
Dim prod = From u In db4.products _
Where u.prodid = 1234 _
Select u.prodid, u.product, u.description, u.price, u.category
this query would return 1 result how do i for example retreive what u.product is
? do i have to bind prod to a dataset?
|
| Post Reply
|
|
|
|
|
|
|
|
|
|