Excecute SSIS package (DTSX) from C#

Standard

SQL Server Integration Services (SSIS) is a component of the Microsoft SQL Server database software that can be used to perform a broad range of data migration tasks. SSIS is a platform for data integration and workflow applications. You can execute SSIS package from C# read more →

Creating user friendly strings for C# enums

Standard

Recently one of my colleague asked me question, he want to create a enum with string values. But C# doesn’t support string based enums, so here is the code snippet which will help you to associate string values to enums. This code is not using read more →

Converting DataTable to Generic List<T>

Standard

Code snippet for converting a DataTable to Generic List<T>. You can use this as an extension method to the Data Table class. By providing the mapping dictionary, the consumer class can decide which all columns / properties need to participate in the conversion. Happy Programming

Verify Internet connection is available using C#

Standard

While reviewing some code, I found a snippet for checking internet connection, like this I found this way of internet connection availablilty many times, but most of the times it was google.com So I thought of writing the correct way (at least from my prespective) read more →