开发者

Dynamically Adding items to an un-order list in asp.net

开发者 https://www.devze.com 2022-12-21 09:19 出处:网络
if i create a html ul. and wanted to dynamically add list items to this list. so i have : <ul id=\"test\" runat=\"server\">

if i create a html ul. and wanted to dynamically add list items to this list.

so i have :

<ul id="test" runat="server">
</ul>

is there a way i can add list item to 开发者_JAVA百科this list dynamically in asp.net i am using vb


You can use a Repeater or a ListView to easily create a list of <li>.

0

精彩评论

暂无评论...
验证码 换一张
取 消