Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
AnswerRe: Forms for Employee's biometric attendance system Pin
Abhinav S17-Jun-15 1:28
Abhinav S17-Jun-15 1:28 
QuestionHow to print a page of stickers in C# WinForm Pin
goldsoft16-Jun-15 19:33
goldsoft16-Jun-15 19:33 
AnswerRe: How to print a page of stickers in C# WinForm Pin
OriginalGriff16-Jun-15 22:16
mveOriginalGriff16-Jun-15 22:16 
Questionhow to update cell in dataGridView Pin
goldsoft16-Jun-15 1:10
goldsoft16-Jun-15 1:10 
AnswerRe: how to update cell in dataGridView Pin
OriginalGriff16-Jun-15 1:27
mveOriginalGriff16-Jun-15 1:27 
QuestionC# Pin
Member 1176872115-Jun-15 19:36
Member 1176872115-Jun-15 19:36 
AnswerRe: C# Pin
OriginalGriff15-Jun-15 19:58
mveOriginalGriff15-Jun-15 19:58 
QuestionNested Select queries i main select query LINQ Pin
Tridip Bhattacharjee15-Jun-15 8:58
professionalTridip Bhattacharjee15-Jun-15 8:58 
apologized for asking a help for linq query. i hardly use LINQ rather i use MSDAAB as DAL which i use to execute my inline sql query or my db store procedure etc. now i am in situation where i need to use LINQ to extract data from datatable.

here i am attaching one screenshot like how my data look like enter image description here
http://i.stack.imgur.com/NMrvR.png[^]
the is data is coming from sql server and for which i am using the below query for sql server. please see my query first.

select
(select count(*) as incoming from tridip_Interval where direction='I'
and CONVERT(datetime,right([Call Start],8)) >='08:30:00'
and CONVERT(datetime,right([Call Start],8)) <='09:00:00'
and Is_Internal=0 and continuation=0 and
RIGHT(convert(varchar,[call duration]),8)<> '00:00:00'
and party1name='Train5') as incoming,

(select count(*) as OutGoing from tridip_Interval where direction='O'
and CONVERT(datetime,right([Call Start],8)) >='08:30:00'
and CONVERT(datetime,right([Call Start],8)) <='09:00:00'
and Is_Internal=0 and continuation=0
and party1name not in ('Voice Mail')
and party1name='Train5') as OutGoing,

(select count(*) as CallTransfer from tridip_Interval where continuation=1
and CONVERT(datetime,right([Call Start],8)) >='08:30:00'
and CONVERT(datetime,right([Call Start],8)) <='09:00:00'
and RIGHT(convert(varchar,[call duration]),8)<> '00:00:00' and
party1name not in ('Voice Mail')
and party1name='Train5') as CallTransfer,

(SELECT count(*) as UnansweredCalls_DuringBusinessHours
from tridip_Interval where direction='I' and
CONVERT(datetime,right([Call Start],8)) >='08:30:00'
and CONVERT(datetime,right([Call Start],8)) <='09:00:00'
and RIGHT(convert(varchar,[call duration]),8)= '00:00:00'
and [Ring duration]>0 and party1name='Train5') as misscall

now i want to use LINQ to query data table but hence i am not good in linq so not being able to compose the above sql like query with linq. so just wonder if any guy help me to compose the above query with linq.

apologized could not highlight my linq query because very honestly i know linq little and that is the reason things is not coming to my mind how to compose the same above sql query with LINQ. looking for hep and support.
tbhattacharjee

AnswerRe: Nested Select queries i main select query LINQ Pin
Mathi Mani15-Jun-15 9:36
Mathi Mani15-Jun-15 9:36 
GeneralRe: Nested Select queries i main select query LINQ Pin
Tridip Bhattacharjee15-Jun-15 10:03
professionalTridip Bhattacharjee15-Jun-15 10:03 
Questioncreate ms acces stored query in code Pin
Member 1095382015-Jun-15 8:27
Member 1095382015-Jun-15 8:27 
AnswerRe: create ms acces stored query in code Pin
Dave Kreskowiak15-Jun-15 10:23
mveDave Kreskowiak15-Jun-15 10:23 
GeneralRe: create ms acces stored query in code Pin
jschell15-Jun-15 12:48
jschell15-Jun-15 12:48 
AnswerRe: create ms acces stored query in code Pin
Matt T Heffron15-Jun-15 12:50
professionalMatt T Heffron15-Jun-15 12:50 
GeneralRe: create ms acces stored query in code Pin
jschell19-Jun-15 10:40
jschell19-Jun-15 10:40 
GeneralRe: create ms acces stored query in code Pin
Dave Kreskowiak15-Jun-15 15:08
mveDave Kreskowiak15-Jun-15 15:08 
AnswerRe: create ms acces stored query in code Pin
jschell15-Jun-15 12:51
jschell15-Jun-15 12:51 
Questionvisual studio bookmarks Pin
Member 1095382015-Jun-15 8:25
Member 1095382015-Jun-15 8:25 
AnswerRe: visual studio bookmarks Pin
OriginalGriff15-Jun-15 8:30
mveOriginalGriff15-Jun-15 8:30 
Question.NET streams and the missing link Pin
Rob Philpott15-Jun-15 4:40
Rob Philpott15-Jun-15 4:40 
AnswerRe: .NET streams and the missing link Pin
David A. Gray15-Jun-15 19:15
David A. Gray15-Jun-15 19:15 
QuestionIs there any possibility to perform file upload and download operation for .net 4.0 web API Pin
Member 1138787715-Jun-15 2:45
Member 1138787715-Jun-15 2:45 
AnswerRe: Is there any possibility to perform file upload and download operation for .net 4.0 web API Pin
Eddy Vluggen15-Jun-15 10:22
professionalEddy Vluggen15-Jun-15 10:22 
QuestionHow to make database for a Project Pin
Member 1154201014-Jun-15 21:53
Member 1154201014-Jun-15 21:53 
AnswerRe: How to make database for a Project Pin
Eddy Vluggen14-Jun-15 23:46
professionalEddy Vluggen14-Jun-15 23:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.