Click here to Skip to main content
15,889,034 members
Home / Discussions / C#
   

C#

 
GeneralRe: SQL connection in the app.config file? Pin
PIEBALDconsult29-Oct-14 4:12
mvePIEBALDconsult29-Oct-14 4:12 
AnswerRe: SQL connection in the app.config file? Pin
Simon_Whale29-Oct-14 5:38
Simon_Whale29-Oct-14 5:38 
AnswerRe: SQL connection in the app.config file? Pin
Gerry Schmitz29-Oct-14 10:45
mveGerry Schmitz29-Oct-14 10:45 
GeneralRe: SQL connection in the app.config file? Pin
Member 245846729-Oct-14 23:05
Member 245846729-Oct-14 23:05 
GeneralRe: SQL connection in the app.config file? Pin
Gerry Schmitz29-Oct-14 23:43
mveGerry Schmitz29-Oct-14 23:43 
GeneralRe: SQL connection in the app.config file? Pin
Member 245846730-Oct-14 16:29
Member 245846730-Oct-14 16:29 
GeneralRe: SQL connection in the app.config file? Pin
Gerry Schmitz30-Oct-14 21:00
mveGerry Schmitz30-Oct-14 21:00 
QuestionNot an asynchronous query(that just unblocks the calling thread) but an asynchronously *yielding* query Pin
Alaric_28-Oct-14 13:26
professionalAlaric_28-Oct-14 13:26 
Ok..so create a table in SQL Server with a [varchar](50) primary key and insert 500,000 dummy rows into the table. Now, in SSMS, select all rows from that table and you will see results immediately display in the Results window while the query is still running.

Opening an ADO.NET connection while awaiting an async reader will allow the thread to continue doing *different* work while the query runs, but I want to yield the results from my data layer to a UI layer as SQL Server prepares and marshals them.

Does anyone have any working samples (technology agnostic) or any links they can direct me towards?
"I need build Skynet. Plz send code"

AnswerRe: Not an asynchronous query(that just unblocks the calling thread) but an asynchronously *yielding* query Pin
Alaric_29-Oct-14 6:07
professionalAlaric_29-Oct-14 6:07 
Questionneed code for project Pin
Member 1106350128-Oct-14 8:47
Member 1106350128-Oct-14 8:47 
AnswerRe: need code for project Pin
Eddy Vluggen28-Oct-14 9:02
professionalEddy Vluggen28-Oct-14 9:02 
GeneralRe: need code for project Pin
OriginalGriff28-Oct-14 9:05
mveOriginalGriff28-Oct-14 9:05 
GeneralRe: need code for project Pin
Eddy Vluggen28-Oct-14 9:39
professionalEddy Vluggen28-Oct-14 9:39 
GeneralRe: need code for project Pin
OriginalGriff28-Oct-14 9:42
mveOriginalGriff28-Oct-14 9:42 
GeneralRe: need code for project Pin
Eddy Vluggen28-Oct-14 10:38
professionalEddy Vluggen28-Oct-14 10:38 
GeneralRe: need code for project Pin
OriginalGriff28-Oct-14 10:42
mveOriginalGriff28-Oct-14 10:42 
GeneralRe: need code for project Pin
Eddy Vluggen28-Oct-14 11:07
professionalEddy Vluggen28-Oct-14 11:07 
GeneralRe: need code for project Pin
Alaric_28-Oct-14 10:15
professionalAlaric_28-Oct-14 10:15 
GeneralRe: need code for project Pin
OriginalGriff28-Oct-14 10:25
mveOriginalGriff28-Oct-14 10:25 
GeneralRe: need code for project Pin
Alaric_28-Oct-14 13:17
professionalAlaric_28-Oct-14 13:17 
AnswerRe: need code for project Pin
OriginalGriff28-Oct-14 9:04
mveOriginalGriff28-Oct-14 9:04 
QuestionRe: need code for project Pin
Ravi Bhavnani28-Oct-14 9:20
professionalRavi Bhavnani28-Oct-14 9:20 
AnswerRe: need code for project Pin
Pete O'Hanlon28-Oct-14 9:35
mvePete O'Hanlon28-Oct-14 9:35 
GeneralRe: need code for project Pin
Eddy Vluggen28-Oct-14 9:40
professionalEddy Vluggen28-Oct-14 9:40 
GeneralRe: need code for project Pin
OriginalGriff28-Oct-14 9:41
mveOriginalGriff28-Oct-14 9:41 

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.