private void OgrenciEkle_Load(object sender, EventArgs e) { yonetim.YatakGoster(); YatakDataGridView.DataSource = yonetim.dt; yatakId = yonetim.yatakId; yonetim.baglantiKapat(); }
private void Ogrenci_Load(object sender, EventArgs e) { if (login.label3.Text != "1") { button3.Visible = false; } // TODO: This line of code loads data into the 'dataSet9.OGRENCI' table. You can move, or remove it, as needed. this.oGRENCITableAdapter.Fill(this.dataSet9.OGRENCI); yonetim.YatakGoster(); dgYatak.DataSource = yonetim.dt; id = yonetim.yatakId; yonetim.baglantiKapat(); }