/* protected void EmployeeIDDropDownList_SelectedIndexChanged(object sender, EventArgs e) * { * CompanyModel companymodel = new CompanyModel(); * CompanyAccess companyaccess = new CompanyAccess(); * companymodel = companyaccess.GetCompany(Convert.ToInt32(EmployeeIDDropDownList.SelectedValue)); * Employer_NameTextBox.Text = companymodel.Employer_Name; * Contact_NumberTextBox.Text = companymodel.Contact_Number.ToString(); * LocationTextBox.Text = companymodel.Location; * WebsiteTextBox.Text = companymodel.Website; * * * * }*/ protected void EmployeeIDDropDownList_SelectedIndexChanged1(object sender, EventArgs e) { CompanyModel companymodel = new CompanyModel(); CompanyAccess companyaccess = new CompanyAccess(); companymodel = companyaccess.GetCompany(Convert.ToInt32(EmployeeIDDropDownList.SelectedValue)); Employer_NameTextBox.Text = companymodel.Employer_Name; Contact_NumberTextBox.Text = companymodel.Contact_Number.ToString(); LocationTextBox.Text = companymodel.Location; WebsiteTextBox.Text = companymodel.Website; }