Hi Usually a program runs in a sequential manner (in a single thread) it means that each line of code should be executed and returns before the program flow can proceed. Sometimes it takes some time for a command to be executed ( like you said,when a SQL statement is executing) and since your program is waiting (busy) during this operation if you want to ask its status using Task Manager,you will get "Not responding" there are some ways that you can avoid this situation. You can execute a command Asynchronously ( in another thread.) This way your command will be executed in another thread (sequence of program flow) and you will be notified when the command execution is ended. Regards