SAP Account Determination

Read the rest of this entry »

Popularity: 1%

C#: Break vs. Continue in Foreach Loops

A C# Quick Tip: You’ve probably seen ‘break’ before in Switch Case statements, but it also plays an important role in Foreach Loops.

To break completely out of a foreach loop (foregoing all the remaining loops), use: break;

To go to the next iteration in the loop, use: continue;

Read the rest of this entry »

Popularity: 1%

C#: That Pesky DBNull Error in Datatables

Datatables and Tableadapters are one of the most beautiful things about C# and Visual Studio, until you’re processing rows in your datatable and you get something that reads like “The value for column ‘your_column’ in table ‘your_table’ is DBNull.”  If you go a little further, you may get:  “Exception Details: System.InvalidCastException: Specified cast is not valid.”  You may go to your Datatable in your Dataset and start trying to change the NullValue for the offending column or trying to change the DefaultValue in the column properties, but chances are that the data type will not let you change that NullValue.  It will insist on “(Throw Exception)”. Read the rest of this entry »

Popularity: 1%

ASP.NET: Hide Menu Items by Role with Security Trimming

ASP.NET makes authorizations and security fairly simple with its roleManager, Authentication, and SiteMap providers.  This quick hint only covers how to hide a particular menu item from the standard Menu and TreeList navigation components when using a SiteMap provider. Read the rest of this entry »

Popularity: 2%

WordPress: Add Scripts to the Pages You Want

WordPress makes it very easy to load Scripts into your blog. The beauty of the method that WordPress provides is that it allows plugins and themes to use the same script at the same time by ensuring the script is loaded only once.  

Read the rest of this entry »

Popularity: 3%

WordPress – Can’t Automatically Upgrade to New Versions?

wpSo, another security fix comes out for WordPress…2.8.6 this time.  And I begin making the rounds to my sites upgrading.  This is now a ritual for me since some kind hacker hacked me with the 2.7 hidden admin user exploit.  Everything is going smooth…I’ve done 3 sites, when I get to a new site I’m working on, and it will not automatically upgrade for anything. Read the rest of this entry »

Popularity: 4%

WordPress ReWrite – new Plugin Coming and a Hint

First of all, let me start by saying that Custom ReWriting in WordPress has consumed way more of my time than it ever should have.  I have prayed and pleaded, even considered asking one of the WordPress Gurus on their message board, but I’ve not had much luck getting responses there (questions were probably so esoteric that nobody cared but me ;-) ).

Read the rest of this entry »

Popularity: 4%

Mac OS X Snow Leopard – NotificationExec Pop Up Annoyance

snowleopardJust installed Mac OS X 10.6 on my home iMac. It was truly a perfectly painless experience…click about 4 buttons and type your password and walk away for 45 minutes.

Read the rest of this entry »

Popularity: 7%