Exemplo n.º 1
0
        public Form1()
        {
            InitializeComponent();
            pathDataNhom   = Application.StartupPath + @"\Data\Nhom.data";
            pathDataDanhBa = Application.StartupPath + @"\Data\DanhBa.data";
            gridNhom.AutoGenerateColumns = false;

            nhom                = Nhom.GetListFromFile(pathDataNhom);
            bds1.DataSource     = nhom;
            gridNhom.DataSource = bds1;
        }