Click here to Skip to main content
15,881,715 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: asp Pin
Manfred Rudolf Bihy24-Aug-11 3:39
professionalManfred Rudolf Bihy24-Aug-11 3:39 
GeneralRe: asp Pin
Not Active24-Aug-11 4:21
mentorNot Active24-Aug-11 4:21 
GeneralRe: asp Pin
Manfred Rudolf Bihy24-Aug-11 3:46
professionalManfred Rudolf Bihy24-Aug-11 3:46 
GeneralRe: asp Pin
Not Active24-Aug-11 4:19
mentorNot Active24-Aug-11 4:19 
QuestionStore files temporarily Pin
SummerBulb22-Aug-11 6:48
SummerBulb22-Aug-11 6:48 
AnswerRe: Store files temporarily Pin
GenJerDan22-Aug-11 7:04
GenJerDan22-Aug-11 7:04 
AnswerRe: Store files temporarily Pin
David Mujica22-Aug-11 7:41
David Mujica22-Aug-11 7:41 
QuestionLINQ Help required Pin
salmonraju22-Aug-11 6:24
salmonraju22-Aug-11 6:24 
Hi ,
I have an application that will collect data from user (entering time sheet data)
so the status of Time sheet can be any of the following
1. Open
2. Saved
3. submited
4. Under Review
5. Approvred.
6. Reject

I am displaying a report on this data. Consider a case where user daily saving his time sheet but not submitting.

My report will be like below

Userid Date Status.
111 Date1 Open
111 Date1 Saved
111 Date1 Saved
111 Date2 Saved
111 Date3 Saved
111 Date4 Submitted
111 Date5 Under Review
111 Date6 Under Review
111 Date7 Under Review
111 Date7 Reject
111 Date7 Saved
111 Date7 Saved
111 Date7 submit
:
:

Above are actual events done on the user time sheet . It looks like that duplicate data saved but it is displaying all the events.

My requirement is to delete duplicate records if the current and previous records are having the same status .

I can do his by looping through all the records using "for" by cecking previous and curent satus.

But i want this is to be done in diffrent way, Can anyone suggest if we can use LINQ for this, if so please suggest me.

Thanks,
AnswerRe: LINQ Help required Pin
Shameel22-Aug-11 9:44
professionalShameel22-Aug-11 9:44 
GeneralRe: LINQ Help required [modified] Pin
Not Active23-Aug-11 3:03
mentorNot Active23-Aug-11 3:03 
GeneralRe: LINQ Help required Pin
Shameel23-Aug-11 4:12
professionalShameel23-Aug-11 4:12 
JokeRe: LINQ Help required Pin
Manfred Rudolf Bihy24-Aug-11 6:17
professionalManfred Rudolf Bihy24-Aug-11 6:17 
AnswerRe: LINQ Help required PinPopular
Not Active22-Aug-11 16:32
mentorNot Active22-Aug-11 16:32 
QuestionBackground images not displayed in asp.net page Pin
keniagm21-Aug-11 22:46
keniagm21-Aug-11 22:46 
AnswerRe: Background images not displayed in asp.net page Pin
thatraja22-Aug-11 17:53
professionalthatraja22-Aug-11 17:53 
GeneralRe: Background images not displayed in asp.net page Pin
keniagm22-Aug-11 22:48
keniagm22-Aug-11 22:48 
GeneralRe: Background images not displayed in asp.net page Pin
Raman Ghantiyala30-Aug-11 20:06
Raman Ghantiyala30-Aug-11 20:06 
AnswerRe: Background images not displayed in asp.net page Pin
Mukund Thakker23-Aug-11 23:31
professionalMukund Thakker23-Aug-11 23:31 
AnswerRe: Background images not displayed in asp.net page Pin
Shameel27-Aug-11 4:26
professionalShameel27-Aug-11 4:26 
QuestionHow to attach mdf file to Crystal Report in VS2008 Pin
praveengb21-Aug-11 19:48
praveengb21-Aug-11 19:48 
AnswerRe: How to attach mdf file to Crystal Report in VS2008 Pin
S Douglas23-Aug-11 14:43
professionalS Douglas23-Aug-11 14:43 
GeneralRe: How to attach mdf file to Crystal Report in VS2008 Pin
praveengb23-Aug-11 19:39
praveengb23-Aug-11 19:39 
GeneralRe: How to attach mdf file to Crystal Report in VS2008 Pin
Mukund Thakker24-Aug-11 0:06
professionalMukund Thakker24-Aug-11 0:06 
AnswerRe: How to attach mdf file to Crystal Report in VS2008 Pin
Mukund Thakker24-Aug-11 2:28
professionalMukund Thakker24-Aug-11 2:28 
Questiondifficult ajax problem in mvc3 Pin
bfis10813721-Aug-11 4:58
bfis10813721-Aug-11 4:58 

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.