This has been an irritating method to use especially when you don’t use it too often. Here are some tips about using PadLeft() and PadRight(). […]
How to Iterate Through all Enums from a Class in C#
This took me a good while to figure out. This is specifically for looping through multiple enumerations declared inside of a class. This code would […]
Storing null in a Column will compile, but will cause run time exception
You can legally store a null in a column from a data row and the code will compile. Don’t do this thought because it will […]
Background goes white on post back
Have you ever been working on a web form or aspx page, then on post back the background color just turns white? That is due […]
++i vs. i++, YES they are different!
For this first test you will see that there isn’t a difference, it is working differently, but you cannot tell the difference in this example: […]
DataTable.Compute() woes
So if you have ever seen this goddamn error before, then you might have been tempted to pull your hair out while screaming, “WHY WON’T […]