private void BindGeneralNotifications() { Pricing.BLL.Notifications generalNotifications = new Pricing.BLL.Notifications(); generalNotifications.GetTopGeneralNotifications(); rptrGeneralNotification.DataSource = generalNotifications.DefaultView; rptrGeneralNotification.DataBind(); }
private void BindPrivateNotifications() { Pricing.BLL.Notifications privateNotifications = new Pricing.BLL.Notifications(); privateNotifications.GetTopPrivateNotifications(CodeGlobal.LogedInCompany.CompanyID); //uiGridViewPrivateNotifications.DataSource = privateNotifications.DefaultView; //uiGridViewPrivateNotifications.DataBind(); rptrPrivateNotifications.DataSource = privateNotifications.DefaultView; rptrPrivateNotifications.DataBind(); }