Mini Kabibi Habibi
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Globalization;
public partial class Widgets_Reminders : System.Web.UI.UserControl {
public string OwnerZoneID { get; set; }
protected Reminder ActiveReminder { get { return ReminderProvider.FirstReminder; } }
protected void Page_Load(object sender, EventArgs e) {
ReminderPanel.OwnerZoneUID = OwnerZoneID;
ReminderMenu.DataSource = ReminderProvider.SelectReminders();
ReminderMenu.DataBind();
contactImage.DataBind();
}
protected string GetFormattedDate(object date) {
return ((DateTime)date).ToString("d MMMM, hh:mm tt", CultureInfo.InvariantCulture);
}
}