5/18/2006

Programming Pet Peeve

So I'm helping Pokey get his code working (in other words, it's SOS for today) and we're using webforms created Visual Studio .Net (C# backend for anyone who cares, which should be roughly no one.) But the key is Visual.

If you've ever done any MS visual programming, you know you double click controls in the toolbox to add them to your form, you move them around and change the properties. Good programmers will, first thing, change the name of the control from label1 or button1 to something that represents what the label or button does - for example, btnOK for an OK button and so forth.

Pokey's code? I'm slogging through all default names. And he wonders why this doesn't work??? Probably because he typoed a textbox number because he can't be bothered to change the freaking names. Grr.

No comments:

Post a Comment