Пример #1
0
        private void proomcomboBox_Click(object sender, EventArgs e)
        {
            proomcomboBox.Items.Clear();
            proomcomboBox.Text = "";
            List <int> roomnolist = new List <int>();

            roomnolist = da.roomnocombo();
            foreach (var roomno in roomnolist)
            {
                proomcomboBox.Items.Add(roomno);
            }
        }