Click here to Skip to main content
15,925,309 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# and Sql server 2000 stored procedure Pin
Colin Angus Mackay23-Jul-06 0:09
Colin Angus Mackay23-Jul-06 0:09 
QuestionC# WebBrowser using JavaScript Pin
Reanalyse22-Jul-06 18:37
Reanalyse22-Jul-06 18:37 
AnswerRe: C# WebBrowser using JavaScript Pin
Ed.Poore22-Jul-06 21:07
Ed.Poore22-Jul-06 21:07 
GeneralRe: C# WebBrowser using JavaScript Pin
Reanalyse22-Jul-06 21:32
Reanalyse22-Jul-06 21:32 
Questionhow can I show the search progress?! Pin
xkx3222-Jul-06 16:54
xkx3222-Jul-06 16:54 
AnswerRe: how can I show the search progress?! Pin
Ed.Poore22-Jul-06 21:04
Ed.Poore22-Jul-06 21:04 
GeneralRe: how can I show the search progress?! Pin
xkx3222-Jul-06 21:42
xkx3222-Jul-06 21:42 
GeneralRe: how can I show the search progress?! Pin
mav.northwind22-Jul-06 22:43
mav.northwind22-Jul-06 22:43 
Please be more specific with your questions in the future or you'll get more answers you won't understand...

I assume you're executing an SqlCommand (or something similar) that's taking some time and you don't want your UI to hang while this command is running, right?

If this is the case, you could create a progressbar (infinite, like Ed.Poore suggested, since you don't know how long the command will run) and then execute the SqlCommand in a WorkerThread.

That way your UI will remain responsive while the SqlCommand is being executed. Once the command has finished you'll have to signalize to your initial class that the progress bar can be removed and that the results can be displayed.

If you're still unclear on how to do this, please google for the words written in code style to get more information on them (esp. WorkerThread).

Regards,
mav

--
Black holes are the places where god divided by 0...

GeneralRe: how can I show the search progress?! Pin
Ed.Poore23-Jul-06 21:14
Ed.Poore23-Jul-06 21:14 
QuestionCompare textBox value with a datset value [modified] Pin
Glen Harvy22-Jul-06 15:34
Glen Harvy22-Jul-06 15:34 
AnswerRe: Compare textBox value with a datset value Pin
Stefan Troschuetz23-Jul-06 1:37
Stefan Troschuetz23-Jul-06 1:37 
QuestionSave All text in richTextBox as image Pin
mm31022-Jul-06 12:28
mm31022-Jul-06 12:28 
AnswerRe: Save All text in richTextBox as image Pin
Ed.Poore22-Jul-06 21:02
Ed.Poore22-Jul-06 21:02 
Questionupdate doesn't save in database Pin
simsen22-Jul-06 11:41
simsen22-Jul-06 11:41 
GeneralRe: update doesn't save in database Pin
User 171649222-Jul-06 12:31
professionalUser 171649222-Jul-06 12:31 
GeneralRe: update doesn't save in database Pin
simsen22-Jul-06 12:36
simsen22-Jul-06 12:36 
AnswerRe: update doesn't save in database Pin
simsen23-Jul-06 5:13
simsen23-Jul-06 5:13 
QuestionShould I use obj = null? Pin
xkx3222-Jul-06 11:35
xkx3222-Jul-06 11:35 
AnswerRe: Should I use obj = null? Pin
Ed.Poore22-Jul-06 11:39
Ed.Poore22-Jul-06 11:39 
AnswerRe: Should I use obj = null? Pin
Michael Dunn22-Jul-06 11:39
sitebuilderMichael Dunn22-Jul-06 11:39 
AnswerRe: Should I use obj = null? Pin
Colin Angus Mackay22-Jul-06 11:40
Colin Angus Mackay22-Jul-06 11:40 
QuestionHow to convert short?[ ] to string[ ] Pin
haz1322-Jul-06 11:08
haz1322-Jul-06 11:08 
AnswerRe: How to convert short?[ ] to string[ ] Pin
Colin Angus Mackay22-Jul-06 11:12
Colin Angus Mackay22-Jul-06 11:12 
GeneralRe: How to convert short?[ ] to string[ ] Pin
haz1322-Jul-06 11:32
haz1322-Jul-06 11:32 
QuestionPartial properties Pin
wout de zeeuw22-Jul-06 8:49
wout de zeeuw22-Jul-06 8:49 

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.