private void PopulateControls() { // Populate dropdown controls. Sprocs.GetCompanies(CurrentSession.AccountId).ForEach(company => CompanyDropDown.Items.Add(new ListItem(company.Name, company.Id.ToString()))); }
private void PopulateControls() { // Populate dropdown controls. Sprocs.GetCompanies(CurrentSession.AccountId).ForEach(company => CompanyDropDown.Items.Add(new ListItem(company.Name, company.Id.ToString()))); }