public void ogrencileriyenile() { OgrenciDal ogrencidal = new OgrenciDal(); dataGridView1.DataSource = ogrencidal.Listele(); byte[] gizlenecek = new byte[] { 1, 4, 8, 9, 10, 12, 13, 16, 17, 18 }; foreach (var index in gizlenecek) { dataGridView1.Columns[index].Visible = false; } }
public static Ogrenci OgrenciNoileGetir(string ogrenciNo) { return(OgrenciDal.Getir2(ogrenciNo)); }
public static Ogrenci KartNoileGetir(string kartNo) { return(OgrenciDal.Getir(kartNo));; }