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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...