Example #1
0
 private void ShowNumberOfNewNotification()
 {
     try
     {
         NotificationBiz nb = new NotificationBiz();
         var             nn = nb.GetNewNotification(HttpContext.Current.User.Identity.Name);
         if (nn != 0)
         {
             lblNotification.Text    = " " + nn.ToString("#,##0") + " ";
             lblNotification.Visible = true;
         }
         else
         {
             lblNotification.Visible = false;
         }
     }
     catch
     {
         throw;
     }
 }