Пример #1
0
 public void Tinkhac()
 {
     try
     {
         if (_sNews_Seo_Url != "")
         {
             var _tinTucKhac = ndetail.Load_othernews(_sNews_Seo_Url);
             if (_tinTucKhac.ToList().Count > 0)
             {
                 Rptinkhac.DataSource = _tinTucKhac;
                 Rptinkhac.DataBind();
             }
             else
             {
                 dvOtherNews.Visible = false;
             }
         }
         else
         {
             dvOtherNews.Visible = false;
         }
     }
     catch (Exception ex)
     {
         clsVproErrorHandler.HandlerError(ex);
     }
 }
Пример #2
0
 public void Tinkhac()
 {
     try
     {
         if (_sNews_Seo_Url != "")
         {
             var _tinTucKhac = ndetail.Load_othernews(_sNews_Seo_Url);
             if (_tinTucKhac.ToList().Count > 0)
             {
                 lblTitleCat.Text     = _tinTucKhac[0].CAT_NAME;
                 Rptinkhac.DataSource = _tinTucKhac;
                 Rptinkhac.DataBind();
             }
         }
     }
     catch (Exception ex)
     {
         clsVproErrorHandler.HandlerError(ex);
     }
 }