Click here to Skip to main content
15,921,884 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Get rid of this programmer Pin
Emil - Gabriel2-May-07 3:35
Emil - Gabriel2-May-07 3:35 
GeneralRe: Get rid of this programmer Pin
sprint_sport30-Apr-07 1:10
sprint_sport30-Apr-07 1:10 
GeneralRe: Get rid of this programmer Pin
Marcus J. Smith30-Apr-07 2:59
professionalMarcus J. Smith30-Apr-07 2:59 
GeneralRe: Get rid of this programmer Pin
Dave Kreskowiak30-Apr-07 10:08
mveDave Kreskowiak30-Apr-07 10:08 
GeneralRe: Get rid of this programmer Pin
sprint_sport1-May-07 4:22
sprint_sport1-May-07 4:22 
GeneralRe: Get rid of this programmer Pin
Marcus J. Smith1-May-07 4:43
professionalMarcus J. Smith1-May-07 4:43 
GeneralRe: Get rid of this programmer Pin
Kochise1-May-07 21:52
Kochise1-May-07 21:52 
GeneralRe: Get rid of this programmer Pin
PIEBALDconsult2-May-07 4:15
mvePIEBALDconsult2-May-07 4:15 
GeneralRe: Get rid of this programmer Pin
Max Topley8-May-07 6:19
Max Topley8-May-07 6:19 
GeneralRe: Get rid of this programmer Pin
GTuritto1-May-07 6:12
GTuritto1-May-07 6:12 
GeneralRe: Get rid of this programmer Pin
Dave Kreskowiak1-May-07 6:15
mveDave Kreskowiak1-May-07 6:15 
GeneralRe: Get rid of this programmer Pin
GTuritto1-May-07 6:45
GTuritto1-May-07 6:45 
GeneralRe: Get rid of this programmer Pin
PIEBALDconsult1-May-07 8:15
mvePIEBALDconsult1-May-07 8:15 
GeneralRe: Get rid of this programmer Pin
Dave Kreskowiak1-May-07 10:24
mveDave Kreskowiak1-May-07 10:24 
GeneralRe: Get rid of this programmer Pin
Steve Hansen1-May-07 23:47
Steve Hansen1-May-07 23:47 
GeneralRe: Get rid of this programmer Pin
Dave Kreskowiak2-May-07 2:10
mveDave Kreskowiak2-May-07 2:10 
GeneralRe: Get rid of this programmer Pin
Arash Partow4-May-07 16:04
Arash Partow4-May-07 16:04 
GeneralRe: Get rid of this programmer Pin
Paul Conrad6-May-07 4:13
professionalPaul Conrad6-May-07 4:13 
GeneralRe: Get rid of this programmer Pin
Paul Conrad6-May-07 4:10
professionalPaul Conrad6-May-07 4:10 
QuestionNeed a sample code for Paging in ASP while doing printout by printer Pin
Kovalavarajan27-Apr-07 4:45
Kovalavarajan27-Apr-07 4:45 
GeneralRepeat After Me Pin
Brady Kelly26-Apr-07 8:00
Brady Kelly26-Apr-07 8:00 
I will study the source data carefully when testing my UI!

I've just laid out a data bound WinForms form three times, the first two discarded with disgust because the databinding provided by the VS2005 wizard sucked. I was pressing back and forward on the BindingNavigator much better but the record detail was staying the same. Something was wrong, so I deleted the form and tried again from scratch. Same thing, so I try and create the whole data source again.

Then, on the third form, I notice that most of the records are for companies, who are allocated a range of phone numbers, and I have one record for each phone number, with ALL the other field values identical. then I noticed that clicking back and forward on the navigator is indeed changing records by my observation of the last digit of the phone number.



GeneralRe: Repeat After Me Pin
chrishuff26-Apr-07 8:58
chrishuff26-Apr-07 8:58 
GeneralRe: Repeat After Me Pin
John R. Shaw28-Apr-07 13:18
John R. Shaw28-Apr-07 13:18 
GeneralMore Than One Way To Skin A Cat Pin
chrishuff26-Apr-07 7:13
chrishuff26-Apr-07 7:13 
GeneralRe: More Than One Way To Skin A Cat Pin
Dave Kreskowiak26-Apr-07 7:16
mveDave Kreskowiak26-Apr-07 7:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.