本文介绍了任何人都可以知道如何使List-Group-Item动态化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想尝试在asp.net中使列表组项动态化我的数据库是在sql2008中。
下面是参考链接..... in这个侧栏上的菜单现在是静态的,但我想动态制作,数据来自sql server ..
touchscreenindia.com/tks/Home.aspx
I want to try to make list group item dynamic in asp.net my database is in sql2008.
Below is the reference link ..... in this the menu on side bar is static right now but i want to make it dynamically and data comes from sql server..
touchscreenindia.com/tks/Home.aspx
<div class="col-md-3">
<div style="width:200px;height:120px; position:absolute">
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
<a href="#demo3" class="list-group-item list-group-item" data-toggle="collapse" data-parent="#MainMenu">Department of Arts</a>
<div class="collapse" id="demo3" style="border:none; padding:0px 0px 0px 20px; ">
<a href="#SubMenu1" class="list-group-item" data-parent="#SubMenu1"> Fine Arts <span class="fa fa-caret"></span></a>
<a href="#SubMenu2" class="list-group-item" data-parent="#SubMenu2">Child Art<i class="fa fa-caret-down"></i></a>
<a href="#SubMenu3" class="list-group-item" data-parent="#SubMenu3">Photography<i class="fa fa-caret-down"></i></a>
<a href="#SubMenu4" class="list-group-item" data-parent="#SubMenu4">Sculpture<i class="fa fa-caret-down"></i></a>
</div>
推荐答案
这篇关于任何人都可以知道如何使List-Group-Item动态化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!