Visual Basic - Como llenar un TreeList en Visual Studio 2012

Life is soft - evento anual de software empresarial
 
Vista:
Imágen de perfil de rachel

Como llenar un TreeList en Visual Studio 2012

Publicado por rachel (1 intervención) el 13/04/2015 03:09:23
hola,acudo a todos ustedes esperando que alguien me pueda ayudar o recomendar un ejemplo sobre como llenar un Treelist

este es el resultado que obtengo,mas sin embargo solo deberia mostrar en el campo estructura un solo nombre de "administrativo y apoyo" y al seleccionar este se desplieguen las categorias que tengan en el campo estructura id el 1 o 2 segun sea el caso


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
USE [ERP]
GO
/****** Object:  StoredProcedure [dbo].[Nom_S_ExportarDatosEstructuraPlaza2_SP]    Script Date: 09/04/2015 04:48:40 p. m. ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:
-- Create date:
-- Description:
-- =============================================
create PROCEDURE [dbo].[Nom_S_ExportarDatosEstructuraPlaza2_SP]
-- Add the parameters for the stored procedure here
 
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
 
    -- Insert statements for procedure here
 select U.Clave AS 'Clave1',
  eu.Descripcion AS 'Descripcion',
  p.CantidadPlazasAutorizadas as 'CantidadPlazasAutorizadas',
eu.NomEstructuraId
from NomCategoria U
 
 
 
inner join NomEstructura EU on eu.NomEstructuraId=U.NomEstructuraId
inner join NomCategoriaPlaza p on p.NomCategoriaId=U.NomCategoriaId
 
End


gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder