Input validation – Numbers Only

Input validation – Numbers Only Few times already I have been asked how can Input validation – Numbers Only be done. Well in c# it is actually very easy. All You need to do is to add a key press event handler and check the currently pressed character. If the character is what you want […]

Swap value between two variables in C#

Swap value between two variables in C# One of the first challenges when we start to learn programming, after Hello world of course :), is swapping a variable and Swap value between two variables in C#. Like almost every programming problem, this one as well has several solutions. Some more effective than others. Although one […]

How to export MSSQL Table as an insert script

How to export MSSQL Table as an insert script This is very common scenario on a daily basis for Database administrator, but doing this in Microsoft SQL Server is not as straight forward as you might think. To keep this tutorial as simple and strait forward that even a N00B can follow along, just “Follow […]