The type or namespace name ‘Office’ does not exist in the namespace ‘Microsoft’ – How to Resolve

Hi friends, in this article, we will be discussing about, how you can resolve the following error you might get in your Visual Studio project: CS0234 The type or namespace name ‘Office’ does not exist in the namespace ‘Microsoft’ (are you missing an assembly reference?)   Why I Received this Error Message? The reason you … Read more…

There is no argument given that corresponds to the required formal parameter

When working with Inheritance in C#, under certain circumstances, you might get an error message similar to this: There is no argument given that corresponds to the required formal parameter. Don’t worry, the above error can be easily resolved. Let’s see a full example, by first reproducing the error.   Reproducing the Error Message Consider … Read more…

Cannot implicitly convert type ‘string’ to ‘System.Windows.Forms.DataGridViewTextBoxColumn

When developing a .NET application (i.e. in C#), under certain circumstances, you might get the error message: Cannot implicitly convert type ‘string’ to ‘System.Windows.Forms.DataGridViewTextBoxColumn   Why you got the implicit conversion error If you get the above error, then you have most probably set as a column name for one of your datagridview column the reserved … Read more…

The timeout period elapsed prior to obtaining a connection from the pool

If you are working with .NET applications, at some time you might get the below (or similar) error message: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.   Why you get the connection … Read more…