Exemple #1
0
        private void prestitiRecenti()
        {
            clsLibro l = new clsLibro("Biblioteca.mdf");

            tabellaPrestati = l.prestati();

            dgvPrestati.DataSource = tabellaPrestati;

            cmbPrestatiNONVISIBILE.DataSource    = tabellaPrestati;
            cmbPrestatiNONVISIBILE.ValueMember   = "CodLibro";
            cmbPrestatiNONVISIBILE.DisplayMember = "CodLibro";
            cmbPrestatiNONVISIBILE.SelectedIndex = -1;

            l.dispose();
        }
Exemple #2
0
        private void prestitiRecenti()
        {
            clsLibro l = new clsLibro("Biblioteca.mdf");

            tabellaPrestati = l.prestati();

            globals.DATAGRID.DataSource = tabellaPrestati;

            globals.COMBO.DataSource    = tabellaPrestati;
            globals.COMBO.ValueMember   = "CodLibro";
            globals.COMBO.DisplayMember = "CodLibro";
            globals.COMBO.SelectedIndex = -1;

            l.dispose();
        }