Click here to Skip to main content
15,504,146 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: Why do I bother? Pin
Dave Kreskowiak13-Jul-14 5:37
mveDave Kreskowiak13-Jul-14 5:37 
GeneralRe: Why do I bother? Pin
Nagy Vilmos13-Jul-14 6:50
professionalNagy Vilmos13-Jul-14 6:50 
GeneralRe: Why do I bother? Pin
Bernhard Hiller13-Jul-14 23:19
Bernhard Hiller13-Jul-14 23:19 
GeneralRe: Why do I bother? Pin
Fabio Franco14-Jul-14 3:03
professionalFabio Franco14-Jul-14 3:03 
JokeRe: Why do I bother? Pin
ZurdoDev14-Jul-14 6:34
professionalZurdoDev14-Jul-14 6:34 
GeneralRe: Why do I bother? Pin
OriginalGriff14-Jul-14 6:38
mveOriginalGriff14-Jul-14 6:38 
GeneralRe: Why do I bother? Pin
Karen Mitchelle16-Jul-14 17:47
professionalKaren Mitchelle16-Jul-14 17:47 
GeneralRe: Why do I bother? Pin
NormDroid24-Jul-14 1:47
professionalNormDroid24-Jul-14 1:47 
Surely it should be:

string checkuser = " select count(*) from UserDetail where UserName=@UserName";
SqlCommand com = new SqlCommand(checkuser, conn);
com.Parameters.AddWithValue("@UserName", TextBoxUN.Text);

GeneralFarts are good for you. Pin
gardnerp11-Jul-14 14:00
gardnerp11-Jul-14 14:00 
GeneralRe: Farts are good for you. Pin
Thanks787212-Jul-14 2:50
professionalThanks787212-Jul-14 2:50 
GeneralRe: Farts are good for you. Pin
Rob Grainger14-Jul-14 6:25
Rob Grainger14-Jul-14 6:25 
GeneralQuestion of the year Pin
Thanks787211-Jul-14 1:55
professionalThanks787211-Jul-14 1:55 
GeneralRe: Question of the year Pin
Nagy Vilmos11-Jul-14 2:10
professionalNagy Vilmos11-Jul-14 2:10 
GeneralRe: Question of the year Pin
mikepwilson11-Jul-14 4:56
mikepwilson11-Jul-14 4:56 
GeneralRe: Question of the year Pin
OriginalGriff11-Jul-14 5:27
mveOriginalGriff11-Jul-14 5:27 
GeneralRe: Question of the year Pin
WiganLatics11-Jul-14 6:16
professionalWiganLatics11-Jul-14 6:16 
GeneralRe: Question of the year Pin
Sander Rossel12-Jul-14 1:30
professionalSander Rossel12-Jul-14 1:30 
GeneralRe: Question of the year Pin
BillW3311-Jul-14 7:53
professionalBillW3311-Jul-14 7:53 
GeneralRe: Question of the year Pin
Sander Rossel12-Jul-14 1:33
professionalSander Rossel12-Jul-14 1:33 
GeneralRe: Question of the year Pin
Brisingr Aerowing12-Jul-14 18:07
professionalBrisingr Aerowing12-Jul-14 18:07 
GeneralRe: Question of the year Pin
  Forogar  13-Jul-14 5:39
professional  Forogar  13-Jul-14 5:39 
GeneralRe: Question of the year Pin
Abu Mami13-Jul-14 3:53
Abu Mami13-Jul-14 3:53 
GeneralOne way to slice a pie PinPopular
Fueled By Decaff8-Jul-14 23:00
Fueled By Decaff8-Jul-14 23:00 
GeneralRe: One way to slice a pie Pin
Nguyen.H.H.Dang8-Jul-14 23:50
professionalNguyen.H.H.Dang8-Jul-14 23:50 
GeneralRe: One way to slice a pie PinPopular
Richard Deeming9-Jul-14 3:10
mveRichard Deeming9-Jul-14 3:10 

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.