Sometimes when you restore a SQL Server backup, the permissions are not carried across! Its a real pain to tick all those boxes so here is the dirty way I use to create a script to assign them. The code…Continue Reading →
In the propertyBrowser when an Enum is exposed you select from the enums descriptions (Like you do in the IDE). I needed to do this at runtime in a form. The user needs to select a value from an enum…Continue Reading →
I always have a unique id in my databases for each row. When passing this to objects for javascript to manipulate I add it to the class string as ‘id_1’ so I can easily retrieve it later. The GetIds function…Continue Reading →
From http://foohack.com/ I learned a new CSS trick from one of the best insane inventor webdevs I know. The pieces have been out there for some time, it seems, but I hadn’t ever seen this spelled out as simply and elegantly as he…Continue Reading →
The table below is a periodically updated listing of font survey results for all platforms, the cumulative total of all valid font survey submissions since January 2004. These figures are calculated per platform and do not show how common the fonts are…Continue Reading →
Defining the Flags: To start of with, declare an enum to list all the possible flags. Two things are important when declaring the enum. The first thing you will probably notice is the [Flags] attribute. This is necessary in order…Continue Reading →