public bool SqlDelete()
{
if(id <= 0)
throw new Exception("Item must have an ID assigned by the database!");
string q = "DELETE FROM `agenda` WHERE `id` = '" + id + "' LIMIT 1;";
General.DB.ConnectSafe();
int result = General.DB.Update(q);
General.DB.Disconnect();
return (result == 1);
}