Click here to Skip to main content
15,905,558 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
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 
GeneralRe: More Than One Way To Skin A Cat Pin
Tim Carmichael26-Apr-07 7:45
Tim Carmichael26-Apr-07 7:45 
GeneralRe: More Than One Way To Skin A Cat Pin
chrishuff26-Apr-07 8:55
chrishuff26-Apr-07 8:55 
GeneralRe: More Than One Way To Skin A Cat Pin
John R. Shaw28-Apr-07 13:37
John R. Shaw28-Apr-07 13:37 
GeneralRe: More Than One Way To Skin A Cat Pin
JMOdom30-Apr-07 8:57
JMOdom30-Apr-07 8:57 
GeneralThe Horror! Pin
Shog924-Apr-07 16:55
sitebuilderShog924-Apr-07 16:55 
GeneralRe: The Horror! Pin
WhiteSpy25-Apr-07 3:24
WhiteSpy25-Apr-07 3:24 
GeneralRe: The Horror! Pin
Jasmine250125-Apr-07 12:36
Jasmine250125-Apr-07 12:36 
GeneralRe: The Horror! Pin
Brady Kelly25-Apr-07 19:12
Brady Kelly25-Apr-07 19:12 
GeneralRe: The Horror! Pin
chrishuff26-Apr-07 7:04
chrishuff26-Apr-07 7:04 
GeneralRe: The Horror! Pin
Brady Kelly26-Apr-07 8:11
Brady Kelly26-Apr-07 8:11 
GeneralRe: The Horror! Pin
PJ Arends26-Apr-07 10:05
professionalPJ Arends26-Apr-07 10:05 
GeneralRe: The Horror! Pin
Shog927-Apr-07 9:15
sitebuilderShog927-Apr-07 9:15 
GeneralRe: The Horror! Pin
John R. Shaw28-Apr-07 13:50
John R. Shaw28-Apr-07 13:50 

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.