Click here to Skip to main content
15,905,867 members
Home / Discussions / C#
   

C#

 
GeneralRe: system information Pin
Eddy Vluggen17-Mar-09 4:10
professionalEddy Vluggen17-Mar-09 4:10 
AnswerRe: system information Pin
musefan17-Mar-09 3:21
musefan17-Mar-09 3:21 
QuestionModifying Windows Service app.config file Pin
User 265531917-Mar-09 1:57
User 265531917-Mar-09 1:57 
AnswerRe: Modifying Windows Service app.config file Pin
Michael Bookatz17-Mar-09 2:35
Michael Bookatz17-Mar-09 2:35 
GeneralRe: Modifying Windows Service app.config file Pin
User 265531917-Mar-09 2:41
User 265531917-Mar-09 2:41 
GeneralRe: Modifying Windows Service app.config file Pin
Michael Bookatz17-Mar-09 2:54
Michael Bookatz17-Mar-09 2:54 
GeneralRe: Modifying Windows Service app.config file Pin
User 265531917-Mar-09 2:56
User 265531917-Mar-09 2:56 
AnswerRe: Modifying Windows Service app.config file Pin
Le centriste17-Mar-09 2:43
Le centriste17-Mar-09 2:43 
IMO, this is bad design. The app.config file is not meant for that purpose.

You may want to save the last record retrieved somewhere else. Maybe in the database itself, in another table. This would especially work well if you are using a stored procedure to retrieve the records.

Another solution would be to add a flag to the table where you retrieve the records to mark those who have been read.
AnswerRe: Modifying Windows Service app.config file Pin
Simon P Stevens17-Mar-09 5:04
Simon P Stevens17-Mar-09 5:04 
QuestionSwitch Statement Help Pin
Paul Unsworth17-Mar-09 1:36
Paul Unsworth17-Mar-09 1:36 
AnswerRe: Switch Statement Help Pin
Pete O'Hanlon17-Mar-09 1:41
mvePete O'Hanlon17-Mar-09 1:41 
GeneralRe: Switch Statement Help Pin
Paul Unsworth17-Mar-09 1:42
Paul Unsworth17-Mar-09 1:42 
AnswerRe: Switch Statement Help Pin
DaveyM6917-Mar-09 1:41
professionalDaveyM6917-Mar-09 1:41 
AnswerRe: Switch Statement Help Pin
benjymous17-Mar-09 1:43
benjymous17-Mar-09 1:43 
QuestionC# Encryption and Decrypt in Java Pin
satsumatable17-Mar-09 1:02
satsumatable17-Mar-09 1:02 
AnswerRe: C# Encryption and Decrypt in Java Pin
SeMartens17-Mar-09 1:54
SeMartens17-Mar-09 1:54 
AnswerRe: C# Encryption and Decrypt in Java Pin
Mbah Dhaim17-Mar-09 7:08
Mbah Dhaim17-Mar-09 7:08 
QuestionProcess.Start() parameter with space char problem Pin
half-life17-Mar-09 0:48
half-life17-Mar-09 0:48 
AnswerRe: Process.Start() parameter with space char problem Pin
Eddy Vluggen17-Mar-09 1:07
professionalEddy Vluggen17-Mar-09 1:07 
GeneralRe: Process.Start() parameter with space char problem Pin
half-life17-Mar-09 1:39
half-life17-Mar-09 1:39 
Questionhow to get out from the outer for Pin
erdem0117-Mar-09 0:16
erdem0117-Mar-09 0:16 
AnswerRe: how to get out from the outer for Pin
Xmen Real 17-Mar-09 0:25
professional Xmen Real 17-Mar-09 0:25 
AnswerRe: how to get out from the outer for Pin
Eddy Vluggen17-Mar-09 0:27
professionalEddy Vluggen17-Mar-09 0:27 
AnswerRe: how to get out from the outer for Pin
Simon P Stevens17-Mar-09 0:29
Simon P Stevens17-Mar-09 0:29 
AnswerRe: how to get out from the outer for Pin
Eslam Afifi17-Mar-09 0:40
Eslam Afifi17-Mar-09 0:40 

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.