Esempio n. 1
0
        private void MultiFacilityRequisition_Load(object sender, EventArgs e)
        {
            BLL.Institution institution = new Institution();
            institution.LoadAll();
            institution.AddColumn("IsSelected", typeof(bool));

            // bind the selected faciliteies to the selected grid
            _selectedFacilities     = institution.DefaultView.Table.Clone();
            gridSelected.DataSource = _selectedFacilities;

            // bind the source table
            gridChoices.DataSource = institution.DefaultView;
        }