protected void BankAccountTypeDropDownList_Init(object sender, EventArgs e) { bankAccountTypeDropDownList = sender as DropDownList; UserBL userBL = new UserBL(); string value = userBL.CompanyBankAccountType(); foreach (ListItem item in bankAccountTypeDropDownList.Items) { if (item.Value == value) { item.Selected = true; break; } } }