Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 9:30
Norris Chappell19-Jun-15 9:30 
AnswerRe: Trying to sum several fields into a total field Pin
Agent__00718-Jun-15 20:30
professionalAgent__00718-Jun-15 20:30 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell18-Jun-15 20:36
Norris Chappell18-Jun-15 20:36 
GeneralRe: Trying to sum several fields into a total field Pin
Richard MacCutchan18-Jun-15 22:05
mveRichard MacCutchan18-Jun-15 22:05 
GeneralRe: Trying to sum several fields into a total field Pin
Agent__00718-Jun-15 23:23
professionalAgent__00718-Jun-15 23:23 
GeneralRe: Trying to sum several fields into a total field Pin
Norris Chappell19-Jun-15 3:25
Norris Chappell19-Jun-15 3:25 
QuestionFind 2 Dates A DateTime Falls between From Dictionary Pin
Kevin Marois18-Jun-15 6:38
professionalKevin Marois18-Jun-15 6:38 
AnswerRe: Find 2 Dates A DateTime Falls between From Dictionary Pin
Sascha Lefèvre18-Jun-15 6:56
professionalSascha Lefèvre18-Jun-15 6:56 
Coder (Hired) wrote:
I was going to loop through the dictionary, but is that really the best way?
The best way depends on your requirements. If there can be a lot of DateTimes and lookup is more frequent than insertion/deletion then a SortedList<TKey, TValue>[^] might provide better performance. Though if you also need lookup by an exact DateTime then you would have to create a custom collection class where you combine a Dictionary with a SortedList to get the best of both (or maybe you can find an existing implementation of that).
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

SuggestionRe: Find 2 Dates A DateTime Falls between From Dictionary Pin
Sascha Lefèvre19-Jun-15 4:30
professionalSascha Lefèvre19-Jun-15 4:30 
QuestionReadout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide Pin
Member 1177535418-Jun-15 4:56
Member 1177535418-Jun-15 4:56 
AnswerRe: Readout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide Pin
Dave Kreskowiak18-Jun-15 5:36
mveDave Kreskowiak18-Jun-15 5:36 
GeneralRe: Readout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide Pin
Member 1177560018-Jun-15 6:50
Member 1177560018-Jun-15 6:50 
GeneralRe: Readout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide Pin
Dave Kreskowiak18-Jun-15 9:22
mveDave Kreskowiak18-Jun-15 9:22 
GeneralRe: Readout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide Pin
Member 1177535418-Jun-15 9:54
Member 1177535418-Jun-15 9:54 
GeneralRe: Readout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide Pin
Dave Kreskowiak18-Jun-15 10:03
mveDave Kreskowiak18-Jun-15 10:03 
GeneralRe: Readout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide Pin
Member 1177535418-Jun-15 10:09
Member 1177535418-Jun-15 10:09 
GeneralRe: Readout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide Pin
Dave Kreskowiak18-Jun-15 10:15
mveDave Kreskowiak18-Jun-15 10:15 
GeneralRe: Readout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide Pin
Member 1177535418-Jun-15 10:19
Member 1177535418-Jun-15 10:19 
Questionc#(Invalid attempt to call HasRows when reader is closed)occurred when i was using the following query in 3tier Pin
Member 1129409418-Jun-15 1:19
Member 1129409418-Jun-15 1:19 
AnswerRe: c#(Invalid attempt to call HasRows when reader is closed)occurred when i was using the following query in 3tier Pin
Pete O'Hanlon18-Jun-15 1:26
mvePete O'Hanlon18-Jun-15 1:26 
SuggestionRe: c#(Invalid attempt to call HasRows when reader is closed)occurred when i was using the following query in 3tier Pin
Sascha Lefèvre18-Jun-15 1:46
professionalSascha Lefèvre18-Jun-15 1:46 
AnswerRe: c#(Invalid attempt to call HasRows when reader is closed)occurred when i was using the following query in 3tier Pin
OriginalGriff18-Jun-15 2:21
mveOriginalGriff18-Jun-15 2:21 
Questiondatavisualization - Audiometric chart Pin
Member 1061400017-Jun-15 21:52
Member 1061400017-Jun-15 21:52 
QuestionC# crystal report to generate bill/invoice Pin
shashimk8117-Jun-15 21:13
shashimk8117-Jun-15 21:13 
AnswerRe: C# crystal report to generate bill/invoice Pin
joost.versteegen22-Jun-15 1:28
joost.versteegen22-Jun-15 1:28 

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.