Hi Chris,
Quote:
|
My assumption is that it is attempting to return a collection of results, but fails because I'm telling it to return a single result.
|
Nope, your LINQ query is fine. You're telling it to return a single instance, and that's exactly what it does.
The problem is what you do with the returned instance:
Quote:
|
GridView1.DataSource = review22
|
The GridView is designed to work with a collection, not with a single instance. So the error you get is from the GridView, not from the query.
Your code would work if you used the Review to populate, say a TextBox:
TextBox1.Text = review22.Title
Hope this helps,
Imar