Пример #1
0
        private void GetNotification()
        {
            int bildirimsay = 0;

            //Notification Web Service Read
            NotificationWebReference.ReadNotifications ws  = new NotificationWebReference.ReadNotifications();
            NotificationWebReference.ZNotification[]   arr = ws.ZReadNotification(DateTime.Now, "ecosar");

            foreach (var item in arr)
            {
                //Notification Html Writing
                BildirimLt.Text += "<tr><td>" + item.Title + "</td><td>" + item.Comment + "</td></tr>";
                bildirimsay++;
            }

            BildirimLb.Text = bildirimsay.ToString(); //Notification Count Writing
        }