//管理员——删除公告栏信息

    public bool del_ggl_note(String noteid3)
    {
        try
        {
            GGContent Del_ggl_note = new GGContent();
            Del_ggl_note.NoteID = int.Parse(noteid3);
            chloe_connect.Delete(Del_ggl_note);
            MessageBox.Show("删除成功!");
            return(true);
        }
        catch (Exception e)
        {
            Console.WriteLine(e.ToString());
            MessageBox.Show("删除失败!");
            return(false);
        }
    }
    //管理员——录入公告栏

    public bool inser_ggcontent(int noteid, String title, String information, DateTime notetime)
    {
        try
        {
            GGContent ggcontent_to_insert = new GGContent();
            ggcontent_to_insert.NoteID      = noteid;
            ggcontent_to_insert.Title       = title;
            ggcontent_to_insert.Information = information;
            ggcontent_to_insert.NoteTime    = DateTime.Now;
            chloe_connect.Insert(ggcontent_to_insert);
            MessageBox.Show("录入成功!");
            return(true);
        }
        catch (Exception e)
        {
            Console.WriteLine(e.ToString());
            MessageBox.Show("录入失败!");
            return(false);
        }
    }