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…

The Entity Framework – Part 2 – Inheritance

As promised on my previous Entity Framework-related post I will try through a series of posts which will contain examples, to talk about the ADO. NET Entity Framework and all the cool features it provides the developer with. This post discusses Inheritance in ADO .NET Entity Framework. Inheritance allows creating entities having as base type … Read more…

The ADO .NET Entity Framework

This article, in an introduction to ADO .NET Entity Framework, Entity Data Model and gives an overview of this great technology.   The Problem ADO .NET Entity Framework Solves During the development cycle of a database application, the developer may face issues having to do with the fact that the logical (relational) and related infrastructure … Read more…

I am an INETA Country Leader

Today I have officially received the role of the INETA Country Leader for Cyprus. It was an honour for me to receive this role as it will allow me to further promote the .NET community activity in Cyprus. The main responsibility of this role is to supervise INETA User Groups in Cyprus and to promote … Read more…

Introduction to ASP .NET AJAX

Well, another successful event took place yesterday in another one of our regular community events of the Cyprus .NET User Group.   About the Event This time the topic was ASP .NET AJAX. Our special guest speaker was Karl Davies-Barrett, Developer Platform Evangelist (Microsoft Malta/Cyprus). AJAX stands for Asynchronous JavaScript and XML. It allows the … Read more…

Changing the startup form in a C# project

Open the C# project properties. In the “Application” tab set the Startup object to “WindowsFormsApplication1.Program”. The “WindowsFormsApplication1” reflects the name of your current C# project so it could be different than the project name presented here. Then in the solution explorer, under the project tree, open the “Program.cs” file. The code should be similar as … Read more…