Click here to Skip to main content
13,351,239 members (46,286 online)
   

Database

 
GeneralRe: Problem with MySQL stored procedure Pin
jrahma8-Oct-12 0:31
memberjrahma8-Oct-12 0:31 
AnswerRe: Problem with MySQL stored procedure Pin
Shameel8-Oct-12 2:56
memberShameel8-Oct-12 2:56 
GeneralRe: Problem with MySQL stored procedure Pin
jrahma8-Oct-12 7:54
memberjrahma8-Oct-12 7:54 
GeneralRe: Problem with MySQL stored procedure Pin
jrahma8-Oct-12 8:11
memberjrahma8-Oct-12 8:11 
Questionterminating SqlConnection.Open() call while connecting Pin
Dan_K4-Oct-12 8:43
memberDan_K4-Oct-12 8:43 
AnswerRe: terminating SqlConnection.Open() call while connecting Pin
Shameel4-Oct-12 9:46
memberShameel4-Oct-12 9:46 
AnswerRe: terminating SqlConnection.Open() call while connecting Pin
Eddy Vluggen4-Oct-12 10:10
memberEddy Vluggen4-Oct-12 10:10 
GeneralRe: terminating SqlConnection.Open() call while connecting Pin
Dan_K5-Oct-12 5:37
memberDan_K5-Oct-12 5:37 
Thanks Eddy. The function is available only in .net framework 4.5 which I'm not using.

I tried in my own way which works fine now. My BackgroundWorker thread creates a new thread and the created thread rather calls SqlConnection.Open(). When the cancel button is clicked, the BackgroundWorker thread aborts the thread opening the connection.

It works fine although I don't know if there could be any related problems. I have run the application several times just to try that part of the code and I haven't found any problems.
GeneralRe: terminating SqlConnection.Open() call while connecting Pin
Eddy Vluggen5-Oct-12 5:57
memberEddy Vluggen5-Oct-12 5:57 
QuestionSQL 2000 to 2008R2 Query Performance Pin
cjb1104-Oct-12 6:13
membercjb1104-Oct-12 6:13 
AnswerRe: SQL 2000 to 2008R2 Query Performance Pin
Shameel4-Oct-12 10:01
memberShameel4-Oct-12 10:01 
GeneralRe: SQL 2000 to 2008R2 Query Performance Pin
cjb1104-Oct-12 23:30
membercjb1104-Oct-12 23:30 
AnswerExecution plan Pin
David Mujica4-Oct-12 11:25
memberDavid Mujica4-Oct-12 11:25 
GeneralRe: Execution plan Pin
cjb1104-Oct-12 21:58
membercjb1104-Oct-12 21:58 
GeneralRe: Execution plan Pin
David Mujica8-Oct-12 9:54
memberDavid Mujica8-Oct-12 9:54 
GeneralRe: Execution plan Pin
cjb1109-Oct-12 0:41
membercjb1109-Oct-12 0:41 
GeneralRe: Execution plan Pin
David Mujica9-Oct-12 4:12
memberDavid Mujica9-Oct-12 4:12 
GeneralRe: Execution plan Pin
cjb1109-Oct-12 5:34
membercjb1109-Oct-12 5:34 
GeneralHigh CPU Pin
David Mujica9-Oct-12 10:13
memberDavid Mujica9-Oct-12 10:13 
GeneralRe: High CPU Pin
cjb11010-Oct-12 22:30
membercjb11010-Oct-12 22:30 
GeneralRe: High CPU Pin
cjb11011-Oct-12 0:15
membercjb11011-Oct-12 0:15 
QuestionMySQL Server timestamp changed! Pin
jrahma2-Oct-12 22:53
memberjrahma2-Oct-12 22:53 
AnswerRe: MySQL Server timestamp changed! Pin
Shameel3-Oct-12 5:05
memberShameel3-Oct-12 5:05 
QuestionConnection String for Ms access 2010 to Windows 7 64 Bit Pin
Satyam Tripathi2-Oct-12 22:33
memberSatyam Tripathi2-Oct-12 22:33 
AnswerRe: Connection String for Ms access 2010 to Windows 7 64 Bit Pin
Richard MacCutchan2-Oct-12 23:00
mvpRichard MacCutchan2-Oct-12 23:00 

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.


Advertise | Privacy |
Web02 | 2.8.180111.1 | Last Updated 19 Jan 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid