Exemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         DataSet recommendds = Btrend.GetList();
         Dlrecommand.DataSource = recommendds;
         Dlrecommand.DataBind();
     }
 }
Exemplo 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();
     }
 }