从数据库中读取数据到TreeView中

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
    SqlConnection conn = new SqlConnection("server=zhan;uid=sa;pwd=zhan;database=test");
    SqlDataAdapter da;


http://www.17aspx.com/html/aspnet/all/2009/0909/2.html

posted @ 2010-04-30 19:39  17aspxcom  阅读(257)  评论(0编辑  收藏  举报