I got many questions about connecting to SQL server from C# code in the simpliest way. Now I show you some very simple static classes that you can use later in your project if you create them as a Library …
Tag: exception
It may happen that your Winforms application must run only in one instance, so you should inform the user about it if he/she would like to start it again. This useful code could be built as a DLL file and …
I was asked about try-catch blocks if we use them in multilevel methods (one’s calling another that throws exception -> which catch block will catch it, etc.). Here I show you a simple, 3 level try-catch block. We have a …