Exemplo n.º 1
0
        public Form1()
        {
            InitializeComponent();
            pharmacyEntities pharmacy = new pharmacyEntities();

            dataGridView1.DataSource = pharmacy.pharmacy_list.ToList();
            //pharmacyEntities entities = new pharmacyEntities();
            //dataGridView1.DataSource = entities.pharmacy_list.ToList();
        }