Copied to clipboard

Flag this post as spam?

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


  • Naorem Rainson 10 posts 30 karma points
    Jan 24, 2013 @ 10:53
    Naorem Rainson
    0

    How to set values in select tag from database.

    I have this macro inside user control of asp..something like this in the .ascx page.

    <select name="name" id="id"/>

    <option value="value">Try me</option>

    <umbraco:macro alias="macroName" runat="server"/>

    </select>

    What i want to achieve is to fill the select area with a data retrieve from the database in server side. Any help is appreciated.

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Jan 25, 2013 @ 10:28
    Tim
    0

    Is the data you want to retrieve in Umbraco (e.g. content, media etc) or is it data from a custom database table?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies