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