Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         DataSet recommendds = Btrend.GetList();
         Dlrecommand.DataSource = recommendds;
         Dlrecommand.DataBind();
     }
 }
Esempio n. 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         DataSet recommendds = Btrend.GetTopList(7);
         Dlrecommand.DataSource = recommendds;
         Dlrecommand.DataBind();
         //DataList1.DataSource=  room.GetAllList();
         //DataList1.DataBind();
         this.GetRecommendRoom();
     }
 }