private void cargar_DropDownList_DETALLES_SERVICIO() { DropDownList_DETALLES_SERVICIO.Items.Clear(); condicionComercial _condicionComercial = new condicionComercial(Session["idEmpresa"].ToString(), Session["USU_LOG"].ToString()); DataTable tablaServiciosComplementarios = _condicionComercial.ObtenerServiciosComplementariosPorTipo(tabla.SERVICIO_EMPRESA_OUTSORUCING); ListItem item = new ListItem("Ninguno", ""); DropDownList_DETALLES_SERVICIO.Items.Add(item); foreach (DataRow fila in tablaServiciosComplementarios.Rows) { item = new ListItem(fila["NOMBRE_SERVICIO_COMPLEMENTARIO"].ToString(), fila["ID_SERVICIO_COMPLEMENTARIO"].ToString()); DropDownList_DETALLES_SERVICIO.Items.Add(item); } DropDownList_DETALLES_SERVICIO.DataBind(); }