public void InsertBimbingans(int id_skripsi)
        {
            bimbingan bim = new bimbingan();
            bim.id_skripsi = id_skripsi;
            bim.tanggal = DateTime.Now;
            //Perform model binding (fill the product properties and validate it).
            bim.deskripsi = "";
            bim.isi = "";
            db.bimbingans.Add(bim);
            db.SaveChanges();

            //Rebind the grid
        }
        public int InsertBimbingan(int id_skripsi, string judul, string deskripsi)
        {
            bimbingan bim = new bimbingan();
            bim.id_skripsi = id_skripsi;
            bim.isi = judul;
            bim.deskripsi = deskripsi;
            bim.tanggal = DateTime.Now;

            try
            {
                db.bimbingans.Add(bim);
                db.SaveChanges();
                return 1;
            }
            catch
            {
                return 0;
            }
        }