protected void LiftId_SelectedIndexChanged(object sender, EventArgs e) { App_Code.Base db = new App_Code.Base(WebConfigurationManager.ConnectionStrings["DefaultConnection"].ToString()); To.SelectedValue = db.GetWorker(LiftId.SelectedValue); }