Posts tagged with "SubSonic"

Looping through a SubSonic collection

Posted within Development on by Ryan Ball

ArticleCollection articles = new ArticleCollection();
articles.Where("IssueID", 10);
articles.Load();

if (articles.Count > 0)
{
foreach (Article a in articles)
{
Response.Write(a.Headline + ", ");
}
}