Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Brad 14 posts 105 karma points
    Mar 27, 2018 @ 22:02

    List Umbraco Form Entries on a webpage

    I'd like to list the entries from a form on a webpage, but I'm not having any luck with the code provided in the docs. Below is my code and the error i get is : "There is already an open DataReader associated with this Command which must be closed first."

    What am I doing wrong????

    @using System;
    @using System.Collections.Generic;
    @using System.Linq;
    @using System.Web;
    @using System.Web.Mvc;
    @using Umbraco.Web.WebApi;
    @using Umbraco.Forms.Data.Storage;
    @using Umbraco.Forms.Core;
    @using Umbraco.Forms.Mvc.DynamicObjects
    <ul id="comments">
     @foreach (dynamic record in Library
              @record.Created.ToString("dd MMMM yyy")
                   <a href="@record.Website" target="_blank">@record.Name</a>
  • Dennis Aaen 4437 posts 17900 karma points admin hq c-trib
    Apr 03, 2018 @ 10:45
    Dennis Aaen

    Hi Brad,

    Sorry to hear that you have issues with listing Umbraco Form Entries on a webpage

    Please have a look at my answer on the thread below.

    Hope this helps,


Please Sign in or register to post replies

Write your reply to: