示例#1
0
        private void ClasseLista_Load(object sender, EventArgs e)
        {
            ClasseRepository rep = new ClasseRepository(ConexaoService.GetConnectionString());

            dataGridView.DataSource = rep.Lista();
        }