很简单,不多说 最终效果: 数据库(Access): 代码: <html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>无标题页</title></head><body> <form id="form1" runat="server"> <div style="text-align:center;"> <div style="margin:5px; float:left;"><asp:TreeView runat="server" ID="Tree1"></asp:TreeView></div> <div style="margin-left:12px;"><asp:GridView runat="server" ID="GridView1"></asp:GridView></div> </div> </form></body></html> public partial class InfoSort : System.Web.UI.Page } 相关文章: