Posted on: 7/5/2015 8:50:30 AM | Views : 774

Hi all:
I am begining to use chart control
I have a sp
USE [Cresolined] GO /****** Object: StoredProcedure [dbo].[seleccionar_datos_encuestas] Script Date: 05/07/2015 9:48:18 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO create PROCEDURE [dbo].[seleccionar_datos_grafico_sexo_encuestas] ( @id0 int, @idioma tinyint ) AS set nocount on select case @idioma when 1 then 'Hombre' when 2 then 'Man' when 3 then 'Homme' else 'Homem' end as hombre,case @idioma when 1 then 'Mujer' when 2 then 'Woman' when 3 then 'Femme' else 'Mulher' end as mujer, (select count(e20) from dbo.encuestas2 where e21=e10 and sexo=1 and opcion=1) as nsexo11,(select count(e20) from dbo.encuestas2 where e21=e10 and sexo=2 and opcion=1) as nsexo21, (select count(e20) from dbo.encuestas2 where e21=e10 and sexo=1 and opcion=2) as nsexo12,(select count(e20) from dbo.encuestas2 where e21=e10 and sexo=2 and opcion=2) as nsexo22, (selec ...

Go to the complete details ...