Click here to Skip to main content
15,889,931 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionAddin trouble shoot Pin
veron71226-Apr-07 2:46
veron71226-Apr-07 2:46 
QuestionDynamic crystal report in .net Pin
prash.dark25-Apr-07 23:17
prash.dark25-Apr-07 23:17 
QuestionLong operation [modified] Pin
sarah_malik25-Apr-07 15:35
sarah_malik25-Apr-07 15:35 
AnswerRe: Long operation Pin
Brady Kelly25-Apr-07 19:26
Brady Kelly25-Apr-07 19:26 
GeneralRe: Long operation Pin
Luc Pattyn26-Apr-07 1:28
sitebuilderLuc Pattyn26-Apr-07 1:28 
GeneralRe: Long operation Pin
Brady Kelly26-Apr-07 1:38
Brady Kelly26-Apr-07 1:38 
GeneralRe: Long operation Pin
sarah_malik26-Apr-07 3:09
sarah_malik26-Apr-07 3:09 
AnswerRe: Long operation Pin
pbraun27-Apr-07 5:13
pbraun27-Apr-07 5:13 
I'm betting this loop can be made faster if the access to the DB is optimized. What I mean by that is: Does the DB really need to be accessed each time through the loop? If the answer is no, then create a conditional that will only access the DB when it is necessary.

Another way to look at this is to do all of the DB access at once. In other words, split your processing up. Do the calculations and store them in a manner that is efficient for later DB access once the calculations have been finished (after the calculation loop is completed).

Without knowing much about what the calculation is, why the DB access needs to be done, and how the data in the DB is affected, I can't give a good answer on how to split the processing up.

Phil
GeneralRe: Long operation Pin
sarah_malik27-Apr-07 9:11
sarah_malik27-Apr-07 9:11 
GeneralRe: Long operation Pin
pbraun27-Apr-07 9:28
pbraun27-Apr-07 9:28 
GeneralRe: Long operation Pin
sarah_malik27-Apr-07 10:28
sarah_malik27-Apr-07 10:28 
QuestionAbout multi-threading Pin
Diego F.25-Apr-07 4:51
Diego F.25-Apr-07 4:51 
AnswerRe: About multi-threading Pin
kubben25-Apr-07 5:55
kubben25-Apr-07 5:55 
GeneralRe: About multi-threading Pin
Diego F.26-Apr-07 23:12
Diego F.26-Apr-07 23:12 
GeneralRe: About multi-threading Pin
pbraun27-Apr-07 5:04
pbraun27-Apr-07 5:04 
GeneralRe: About multi-threading Pin
Diego F.30-Apr-07 2:12
Diego F.30-Apr-07 2:12 
QuestionInstall time JIT tutorial Pin
SE_GEEK25-Apr-07 4:39
SE_GEEK25-Apr-07 4:39 
AnswerRe: Install time JIT tutorial Pin
Pete O'Hanlon25-Apr-07 5:14
mvePete O'Hanlon25-Apr-07 5:14 
GeneralRe: Install time JIT tutorial Pin
SE_GEEK27-Apr-07 4:46
SE_GEEK27-Apr-07 4:46 
QuestionTransparency in Txxtbox Pin
sianatia25-Apr-07 2:48
sianatia25-Apr-07 2:48 
AnswerRe: Transparency in Txxtbox Pin
Dave Kreskowiak25-Apr-07 4:41
mveDave Kreskowiak25-Apr-07 4:41 
GeneralRe: Transparency in Txxtbox Pin
sianatia27-Apr-07 19:20
sianatia27-Apr-07 19:20 
GeneralRe: Transparency in Txxtbox Pin
Dave Kreskowiak28-Apr-07 7:37
mveDave Kreskowiak28-Apr-07 7:37 
AnswerRe: Transparency in Txxtbox Pin
PIEBALDconsult26-Apr-07 12:20
mvePIEBALDconsult26-Apr-07 12:20 
GeneralRe: Transparency in Txxtbox Pin
sianatia27-Apr-07 19:13
sianatia27-Apr-07 19:13 

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.