コード例 #1
0
        private void RolesForm_Load(object sender, EventArgs e)
        {
            var bindingSource = new BindingSource();
            var rolesTable    = rolesManager.BuscarTodos();

            rolesDataGridView.DataSourceChanged  += new EventHandler(rolesDataGridView_DataSourceChanged);
            rolesDataGridView.AutoGenerateColumns = false;
            rolesDataGridView.DataSource          = rolesTable;
        }