protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack == false) { PlaceBLL bll = new PlaceBLL(); string sql = "select top 6 * from Place order by PlaceID"; DataSet ds = bll.getPlace(sql); DataList1.DataSource = ds.Tables[0]; DataList1.DataBind(); } }