Ejemplo n.º 1
0
        public void setGrid()
        {
            BindingSource s = new BindingSource();

            Project.getProjects();
            showprojects           = Project.projects;
            s.DataSource           = showprojects;
            dgvProjects.DataSource = s;
        }
Ejemplo n.º 2
0
        public void setGrid()
        {
            BindingSource s = new BindingSource();

            Project.getProjects();
            showprojects           = Project.projects;
            s.DataSource           = showprojects;
            dgvProjects.DataSource = s;

            dgvProjects.AllowUserToAddRows = false;
        }