by Johan Meyer | Dec 14, 2013 | .NET, Development
Recently I created a post to show you how to create a custom control with two-way binding. I will now use this same project and add validation to this custom control text box. This web control will inherit from the TextBox web control, and will automatically add a...
by Johan Meyer | Dec 5, 2013 | .NET, Development
A few people asked me recently how you can add a custom control inside a GridView and then allow two-way data binding to this custom user control. In this very short post I will explain how to do two-way data binding using .Net Framework 4.5, SQL and C#. I have also...
by Johan Meyer | Mar 6, 2012 | .NET, Development, Visual Studio
After upgrading my Visual Studio 2008 to Visual Studio 2010 my server explorer decided to give me the following error. An unexpected error occurred in the .NET framework data provider for Microsoft SQL Server Compact. Please contact the provider vendor to resolve this...
by Johan Meyer | Mar 6, 2012 | .NET, Development, Reporting, Tips & Tricks
Have you ever wanted to create a report that enables you to print mailing labels? Well I will show you how to create a Microsoft Report Viewer report in Visual Studio that looks like the one in the Fig 1.1 Fig 1.1 For window forms you can try this link, I have tested...
by Johan Meyer | Mar 2, 2012 | .NET, Development
Have you ever tried creating an image from text in C# .net. Well the .NET framework provides System.Drawing and System.Drawing.Graphics classes which helps us to generate an image from text. Below is the code: private Bitmap CreateBitmapImage(string sImageText) {...