ISingleResult and linq to sql problems

A

Andy B

I have the following code:

Dim NewsContext As New NewsDataContext()

Dim Result As IEnumerable(Of GetAllNewsArticlesResult) =
NewsContext.GetAllNewsArticles()



I want to use the Result object as a DataSource for a repeater control. How
do I do this? And how would you reference the column names in the html
markup?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

effective linq delete 5
DropDownList and LINQ 0
linq to object query 1
Linq to SQL custom paging 0
LINQ to SQL - DataContext 3
LINQ and blobs 4
Linq 5
Linq to entites 13

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top