Click here to Skip to main content
15,890,741 members
Home / Discussions / C#
   

C#

 
QuestionSHGetFileInfo does not work for large icons Pin
nilam247715-May-08 23:54
nilam247715-May-08 23:54 
AnswerRe: SHGetFileInfo does not work for large icons Pin
DaveyM6916-May-08 3:16
professionalDaveyM6916-May-08 3:16 
AnswerRe: SHGetFileInfo does not work for large icons Pin
DaveyM6916-May-08 3:25
professionalDaveyM6916-May-08 3:25 
QuestionAbout grid checkBox Pin
Prabhat00315-May-08 23:51
Prabhat00315-May-08 23:51 
AnswerRe: About grid checkBox Pin
stancrm16-May-08 0:52
stancrm16-May-08 0:52 
GeneralRe: About grid checkBox Pin
Prabhat00316-May-08 1:03
Prabhat00316-May-08 1:03 
QuestionC# MS Sql Express: share connection between threads? Pin
Michiel15-May-08 23:46
Michiel15-May-08 23:46 
AnswerRe: C# MS Sql Express: share connection between threads? Pin
originSH16-May-08 0:34
originSH16-May-08 0:34 
Open new connections as and when you need them, if you have a single connection you can only run a single command at a time and as you have found if that command is a data reader it can be running for some time.

You could of course queue up all the requests but that would slow everything down, your threads would all be waiting in line to get their data.


There is one other option which is MARS(Multiple Active Result Sets), this was added in MSSQL2k5 but it does have some limitaitons.

MARS[^]
GeneralRe: C# MS Sql Express: share connection between threads? Pin
Michiel16-May-08 1:20
Michiel16-May-08 1:20 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
originSH16-May-08 1:28
originSH16-May-08 1:28 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
Michiel16-May-08 3:48
Michiel16-May-08 3:48 
AnswerRe: C# MS Sql Express: share connection between threads? Pin
Peter Josefsson Sweden16-May-08 13:32
Peter Josefsson Sweden16-May-08 13:32 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
originSH18-May-08 22:10
originSH18-May-08 22:10 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
Peter Josefsson Sweden18-May-08 23:28
Peter Josefsson Sweden18-May-08 23:28 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
originSH18-May-08 23:56
originSH18-May-08 23:56 
GeneralRe: C# MS Sql Express: share connection between threads? [modified] Pin
Michiel20-May-08 23:44
Michiel20-May-08 23:44 
GeneralRe: C# MS Sql Express: share connection between threads? [modified] Pin
Peter Josefsson Sweden21-May-08 2:58
Peter Josefsson Sweden21-May-08 2:58 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
Michiel21-May-08 3:33
Michiel21-May-08 3:33 
GeneralRe: C# MS Sql Express: share connection between threads? Pin
Peter Josefsson Sweden21-May-08 3:43
Peter Josefsson Sweden21-May-08 3:43 
AnswerRe: C# MS Sql Express: share connection between threads? Pin
Peter Josefsson Sweden16-May-08 13:52
Peter Josefsson Sweden16-May-08 13:52 
AnswerRe: C# MS Sql Express: share connection between threads? Pin
Peter Josefsson Sweden16-May-08 14:28
Peter Josefsson Sweden16-May-08 14:28 
QuestionDrawEllipse and FillEllipse methods Pin
NarVish15-May-08 23:11
NarVish15-May-08 23:11 
AnswerRe: DrawEllipse and FillEllipse methods Pin
Christian Graus15-May-08 23:28
protectorChristian Graus15-May-08 23:28 
AnswerRe: DrawEllipse and FillEllipse methods Pin
John_Adams15-May-08 23:32
John_Adams15-May-08 23:32 
AnswerRe: DrawEllipse and FillEllipse methods Pin
CPallini16-May-08 4:09
mveCPallini16-May-08 4:09 

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.