PLEASE HELP !!!!!!!!!!
-
:sigh: :sigh: im getting crazy here i have a c# application in which i have client and server. there is no continuing connection between them every time the client want something , he open the connection and query... i also have a function which called : run_sql_select_command in it , i have try and catch if there is no database ( or other problem). the problem is that i want , IF ERROR , IN THE CATCH , goto the login screen. i have just 1 form. the program going to the login and then COMEBACK to the function !!!!!!! ( i dont want it - i want it to stay at the login section) i tried goto , but it is not in the scope, what can i do ?? please,.
-
:sigh: :sigh: im getting crazy here i have a c# application in which i have client and server. there is no continuing connection between them every time the client want something , he open the connection and query... i also have a function which called : run_sql_select_command in it , i have try and catch if there is no database ( or other problem). the problem is that i want , IF ERROR , IN THE CATCH , goto the login screen. i have just 1 form. the program going to the login and then COMEBACK to the function !!!!!!! ( i dont want it - i want it to stay at the login section) i tried goto , but it is not in the scope, what can i do ?? please,.
while(true)
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
:sigh: :sigh: im getting crazy here i have a c# application in which i have client and server. there is no continuing connection between them every time the client want something , he open the connection and query... i also have a function which called : run_sql_select_command in it , i have try and catch if there is no database ( or other problem). the problem is that i want , IF ERROR , IN THE CATCH , goto the login screen. i have just 1 form. the program going to the login and then COMEBACK to the function !!!!!!! ( i dont want it - i want it to stay at the login section) i tried goto , but it is not in the scope, what can i do ?? please,.
Your design is flawed, and shows a poor grasp of how .Net works works.