Пример #1
0
        private void SearchForm_Load(object sender, EventArgs e)
        {
            StockInCompanyLoadManager sInComLMagObj = new StockInCompanyLoadManager();
            DataTable dt = sInComLMagObj.GetCompanyNames();

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                searchCompanyComboBox.Items.Add(dt.Rows[i]["Name"]);
            }
        }