Click here to Skip to main content
       

Database

 
GeneralRe: Problem with MySQL stored procedure Pinmemberjrahma7-Oct-12 23:31 
AnswerRe: Problem with MySQL stored procedure PinmemberShameel8-Oct-12 1:56 
GeneralRe: Problem with MySQL stored procedure Pinmemberjrahma8-Oct-12 6:54 
GeneralRe: Problem with MySQL stored procedure Pinmemberjrahma8-Oct-12 7:11 
Questionterminating SqlConnection.Open() call while connecting PinmemberDan_K4-Oct-12 7:43 
AnswerRe: terminating SqlConnection.Open() call while connecting [modified] PinmemberShameel4-Oct-12 8:46 
AnswerRe: terminating SqlConnection.Open() call while connecting PinmemberEddy Vluggen4-Oct-12 9:10 
GeneralRe: terminating SqlConnection.Open() call while connecting PinmemberDan_K5-Oct-12 4: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 PinmemberEddy Vluggen5-Oct-12 4:57 
QuestionSQL 2000 to 2008R2 Query Performance Pinmembercjb1104-Oct-12 5:13 
AnswerRe: SQL 2000 to 2008R2 Query Performance PinmemberShameel4-Oct-12 9:01 
GeneralRe: SQL 2000 to 2008R2 Query Performance Pinmembercjb1104-Oct-12 22:30 
AnswerExecution plan PinmemberDavid Mujica4-Oct-12 10:25 
GeneralRe: Execution plan Pinmembercjb1104-Oct-12 20:58 
GeneralRe: Execution plan PinmemberDavid Mujica8-Oct-12 8:54 
GeneralRe: Execution plan Pinmembercjb1108-Oct-12 23:41 
GeneralRe: Execution plan PinmemberDavid Mujica9-Oct-12 3:12 
GeneralRe: Execution plan Pinmembercjb1109-Oct-12 4:34 
GeneralHigh CPU PinmemberDavid Mujica9-Oct-12 9:13 
GeneralRe: High CPU Pinmembercjb11010-Oct-12 21:30 
GeneralRe: High CPU Pinmembercjb11010-Oct-12 23:15 
QuestionMySQL Server timestamp changed! Pinmemberjrahma2-Oct-12 21:53 
AnswerRe: MySQL Server timestamp changed! PinmemberShameel3-Oct-12 4:05 
QuestionConnection String for Ms access 2010 to Windows 7 64 Bit PinmemberSatyam Tripathi2-Oct-12 21:33 
AnswerRe: Connection String for Ms access 2010 to Windows 7 64 Bit PinmvpRichard MacCutchan2-Oct-12 22:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web04 | 2.8.140821.2 | Last Updated 21 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid