Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     NewsDAO mNewsDAO = new NewsDAO ();
         // get hotest activity news
     mNewsDAO.selectHotNews (Constant.NEWSACTIVITY, mHotActNews);
         // get hotest academic news
     mNewsDAO.selectHotNews (Constant.NEWSACADEMIC, mHotAcaNews);
         //get hotest else news
     mNewsDAO.selectHotNews (Constant.NEWSELSE, mHotElseNews);
     this.DataBind ();
 }