TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ahmidi mohamed
NA
38
473
i want convert this script in linq c#
Oct 10 2019 5:48 AM
SELECT DISTINCT (SELECT IdTipo1 FROM PorcentajeRecursos WHERE Ejercicio = @Ejercicio AND IdTipoPorcentaje = 1 AND IdSociedad = @IdSociedad) AS IdTipoInversion1,
(SELECT IdTipo2 FROM PorcentajeRecursos WHERE Ejercicio = @Ejercicio AND IdTipoPorcentaje = 1 AND IdSociedad = @IdSociedad) AS IdTipoInversion2,
(SELECT IdTipo1 FROM PorcentajeRecursos WHERE Ejercicio = @Ejercicio AND IdTipoPorcentaje = 2 AND IdSociedad = @IdSociedad) AS IdTipoGasto1,
(SELECT IdTipo2 FROM PorcentajeRecursos WHERE Ejercicio = @Ejercicio AND IdTipoPorcentaje = 2 AND IdSociedad = @IdSociedad) AS IdTipoGasto2,
(SELECT Porcentaje FROM PorcentajeRecursos WHERE Ejercicio = @Ejercicio AND IdTipoPorcentaje = 1 AND IdSociedad = @IdSociedad) AS PorcentajeDesarrollo,
(SELECT Porcentaje FROM PorcentajeRecursos WHERE Ejercicio = @Ejercicio AND IdTipoPorcentaje = 2 AND IdSociedad = @IdSociedad) AS PorcentajeConsultoria
FROM PorcentajeRecursos WHERE Ejercicio = @Ejercicio AND IdSociedad = @IdSociedad
Reply
Answers (
1
)
Object reference is not non static member
Error while reading from server to text file in localdesktop