Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
Is the data you want to retrieve in Umbraco (e.g. content, media etc) or is it data from a custom database table?
is working on a reply...
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.
Continue discussion
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.
Is the data you want to retrieve in Umbraco (e.g. content, media etc) or is it data from a custom database table?
is working on a reply...
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.