Esempio n. 1
0
        private void FormOdalar_Load(object sender, EventArgs e)
        {
            db = new PansiyonDBEntities();
            bindingSourceOdalar.DataSource = db.Odalar.ToList();
            this.Renklendir();

            //dataGridView.Columns.Add("Column", "Test");     //this.dataGridView1.Columns.Add(ColumnName, HeaderText);
        }
 private void FormMusteri_Load(object sender, EventArgs e)
 {
     db = new PansiyonDBEntities();
     musterilerBindingSource.DataSource = db.Musteriler.ToList();
 }