Tag Archives: Programming

New Features of C# 6 You May Find Quite Useful

C# version 6 came out with the release of Visual Studio 2015. It includes quite a few useful features for the developers. Here is a list of the ones that will make a day for any developer who has been writing … Read More »»»

Posted in C# | Tagged , , , , , , , | Leave a comment

Just Young Is C# 6, And Here Comes C#7! What is New in C# 7 and What To Expect?

It has not been long since C# 6 release with a few useful improvements, and here comes C# 7 – excited yet?! Watch your recliner and read on: Tuples I have not used that much so please go ahead and … Read More »»»

Posted in C# | Tagged , , , , , , | Leave a comment

TypeScript Error: Cannot re-export name that is not defined in the module

When building an Angular2/TypeScript project in Visual Studio, you may encounter an error during the built: 1>node_modules\angular2\src\facade\promise.d.ts(2,10): error TS2661: Build: Cannot re-export name that is not defined in the module. The error i thrown on this line: static reject(obj: any, … Read More »»»

Posted in Angular2, TypeScript | Tagged , , , , , , , | Leave a comment

How To Flush PRINT Buffer in T-SQL, Or Output Messages In Real Time

When debugging SQL scripts, oftentimes the developer or DBA would want to see what is happening as the script executes. While it is possible to set up breakpoints in SSMS and step-into/-over code, sometimes all that one wants is to … Read More »»»

Posted in MSSQL | Tagged , , , , , , , , , , | Leave a comment

Cool Multi-Colored Blur Effect With Multiple Shadows Using CSS3

With CSS3 and HTML5 getting widespread and most of the browsers supporting their major features, you can code a lot of things right there and then, as opposed to having to have to fire up Photoshop or another image editing … Read More »»»

Posted in CSS | Tagged , , , , , , , , , | Leave a comment

C# Yield Statement Demystified With Examples

The yield statement has been released with .NET 2.0 framework, but many still do not know what it does. In a nutshell, it does transformations – obtaining a result dataset given an input dataset. Since the time yield has seen … Read More »»»

Posted in .NET | Tagged , , , , , , , , | Leave a comment

My ASP.NET Page Worked And Now When I Postback It Is Blank, No Error Is Shown

Your page has been working just fine and nothing changed in the code, but out of nowhere you are faced with a problem: when you do a postback to the server, all you see is a white blank page. You … Read More »»»

Posted in .NET | Tagged , , , , , , , , | Leave a comment

Creating A Phone Number Input Control With Javascript

In this article I am going to show you how to create a cool phone number control in HTML using Javascript. Surely you have seen forms where you are asked to enter a phone number in three boxes – one … Read More »»»

Posted in Javascript | Tagged , , , , , , , , , , | Leave a comment

.NET Error: An Error Occurred Creating the Configuration Section Handler

If you encounter this error, check the section declaration in <configSections> in your Web.Config or App.Config file. Make sure you include assembly in your type attribute. The above will not always work and if you get the error, try the … Read More »»»

Posted in Quick Tips | Tagged , , , , , , , | Leave a comment

Find a String Value in the Whole Database: Searching for Text in Tables and Columns

Once in a while you may come across a problem when you are not familiar with the database structure you are dealing with. You may have to deal with the front end only and values that are only presented to … Read More »»»

Posted in MSSQL | Tagged , , , , , , , , , , , , , | Leave a comment