Click here to Skip to main content
16,007,814 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to get password textbox in asp.net Pin
Billah28-May-06 0:44
Billah28-May-06 0:44 
GeneralRe: how to get password textbox in asp.net Pin
foysal mamun28-May-06 20:57
foysal mamun28-May-06 20:57 
QuestionSend sms from internet ? [modified] Pin
hasan_hasany27-May-06 23:13
hasan_hasany27-May-06 23:13 
AnswerRe: Send sms from internet ? [modified] Pin
hasan_hasany30-May-06 11:32
hasan_hasany30-May-06 11:32 
QuestionLua & C# Pin
Mridang Agarwalla27-May-06 20:48
Mridang Agarwalla27-May-06 20:48 
AnswerRe: Lua & C# Pin
Guffa28-May-06 2:46
Guffa28-May-06 2:46 
GeneralRe: Lua & C# Pin
Mridang Agarwalla28-May-06 2:52
Mridang Agarwalla28-May-06 2:52 
QuestionRunWorkerCompletedEventArgs.Error Not Being Set Pin
Peter Vertes27-May-06 18:34
Peter Vertes27-May-06 18:34 
Hello All,

I'm using a BackgroundWorker to check database permissions in the background while my GUI is servicing request from the client. The user enters the db host name, username and password then a BackgroundWorker thread gets kicked off to retrieve the list of databases that are available on the specified host. When the correct information is passed into the textboxes everything works fine. When the user enters wrong information (like a wrong password), I would like to display an error message and disable the combobox that holds the list of available databases.
I'm doing all the database work inside a method called bgWorker_DoWork() which is triggered by the BackgroundWorker.RunWorkerAsync() delegate. It is in this method where I catch an OleDbException that gets thrown when the login to the database fails. Inside my bgWorker_RunWorkerCompleted() method I look at the RunWorkerCompletedEventArgs to see if there were any problem while running the bgWorker_DoWork() method however even when an exception has been thrown RunWorkerCompletedEventArgs.Error is always null. Am I missing something else that I should be doing or is this a bug in the framework ?
AnswerRe: RunWorkerCompletedEventArgs.Error Not Being Set Pin
S. Senthil Kumar28-May-06 20:17
S. Senthil Kumar28-May-06 20:17 
QuestionOpen Notepad from Web Browser in ASP.NET Pin
Billah27-May-06 17:39
Billah27-May-06 17:39 
AnswerRe: Open Notepad from Web Browser in ASP.NET Pin
Colin Angus Mackay28-May-06 1:06
Colin Angus Mackay28-May-06 1:06 
GeneralRe: Open Notepad from Web Browser in ASP.NET Pin
Billah28-May-06 1:34
Billah28-May-06 1:34 
GeneralRe: Open Notepad from Web Browser in ASP.NET Pin
Colin Angus Mackay28-May-06 2:48
Colin Angus Mackay28-May-06 2:48 
QuestionCreating a writer/formatter object [modified] Pin
martin_hughes27-May-06 12:39
martin_hughes27-May-06 12:39 
QuestionFind Largest #..... Pin
Eliee27-May-06 11:58
Eliee27-May-06 11:58 
GeneralRe: Find Largest #..... Pin
Guffa27-May-06 12:21
Guffa27-May-06 12:21 
GeneralRe: Find Largest #..... Pin
Eliee28-May-06 4:39
Eliee28-May-06 4:39 
AnswerRe: Find Largest #..... Pin
Guffa28-May-06 10:37
Guffa28-May-06 10:37 
GeneralRe: Find Largest #..... Pin
Eliee28-May-06 11:11
Eliee28-May-06 11:11 
GeneralRe: Find Largest #..... Pin
Colin Angus Mackay28-May-06 12:02
Colin Angus Mackay28-May-06 12:02 
AnswerRe: Find Largest #..... Pin
Guffa28-May-06 13:08
Guffa28-May-06 13:08 
AnswerRe: Find Largest #..... Pin
Danny van Kasteel28-May-06 23:05
Danny van Kasteel28-May-06 23:05 
QuestionVS 2005 flickering problem mouse leave Pin
Phoen2527-May-06 11:50
Phoen2527-May-06 11:50 
AnswerRe: VS 2005 flickering problem mouse leave Pin
martin_hughes27-May-06 12:30
martin_hughes27-May-06 12:30 
GeneralRe: VS 2005 flickering problem mouse leave Pin
Phoen2527-May-06 12:32
Phoen2527-May-06 12:32 

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.