Click here to Skip to main content
15,911,646 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: .NET is Hell (subtitle: An error message from Microsoft) Pin
John Atten10-Oct-12 2:43
John Atten10-Oct-12 2:43 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) PinPopular
kdmote10-Oct-12 6:39
kdmote10-Oct-12 6:39 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
RafagaX10-Oct-12 7:47
professionalRafagaX10-Oct-12 7:47 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
greldak10-Oct-12 22:00
greldak10-Oct-12 22:00 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
AlexMaximovic10-Oct-12 20:45
AlexMaximovic10-Oct-12 20:45 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
David de Leeuw10-Oct-12 22:50
David de Leeuw10-Oct-12 22:50 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Richard Deeming15-Oct-12 3:57
mveRichard Deeming15-Oct-12 3:57 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Thornik11-Oct-12 1:27
Thornik11-Oct-12 1:27 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Stefan_Lang15-Oct-12 4:49
Stefan_Lang15-Oct-12 4:49 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Thornik16-Oct-12 3:20
Thornik16-Oct-12 3:20 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
alexander ypema11-Oct-12 3:06
alexander ypema11-Oct-12 3:06 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Brendon123413-Oct-12 19:09
Brendon123413-Oct-12 19:09 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Stefan_Lang15-Oct-12 4:53
Stefan_Lang15-Oct-12 4:53 
GeneralInfinate levels of hierarchal data Pin
asdrog3-Oct-12 1:30
asdrog3-Oct-12 1:30 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
R. Giskard Reventlov3-Oct-12 5:22
R. Giskard Reventlov3-Oct-12 5:22 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
asdrog3-Oct-12 6:30
asdrog3-Oct-12 6:30 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
R. Giskard Reventlov3-Oct-12 6:43
R. Giskard Reventlov3-Oct-12 6:43 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
AspDotNetDev3-Oct-12 6:45
protectorAspDotNetDev3-Oct-12 6:45 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
R. Giskard Reventlov3-Oct-12 7:02
R. Giskard Reventlov3-Oct-12 7:02 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
asdrog3-Oct-12 13:21
asdrog3-Oct-12 13:21 
GeneralRe: MySQL "in (list)" example to recursivly get information - And the power of Loops! Infinate levels of hierarchal data Pin
Sentenryu4-Oct-12 0:50
Sentenryu4-Oct-12 0:50 
GeneralRe: Infinate levels of hierarchal data Pin
Bernhard Hiller4-Oct-12 0:28
Bernhard Hiller4-Oct-12 0:28 
GeneralRe: Infinate levels of hierarchal data Pin
asdrog4-Oct-12 11:35
asdrog4-Oct-12 11:35 
Thenks for the feedback

In many instances hierarchical is totally not worth looking at and can be a nightmare to manage, but there is a place for it, and when used with an interface to meet a functionality requirement it can be a great advantage.

Expearience has shown that hierarchical data in a single table can be very effective when the user interface mimics that of a file management system to manage the data and you proved breadcumb navigation to go back a level or two.

In short - hierarchical data to more than a few levels is not for the faint hearted and even then you realy need to be sure that you understand what you are getting yourself into. (be prepared for developing some prity elaborate loops and/or non pimple coding)

Sitting on my bookshelf are numerious intermediate level books that show how to use hierarchical data to power .net sitemap and menu controls from a database rather than xml files.

So whilst programming languages like MUMPS have dissapeared there is still a requirement for the strategic use of hierarchical data. The key word being STRATEGIC.

For those who want to investigate things further #IHierarchicalDataSource Interface# can be found at http://msdn.microsoft.com/en-us/library/d3ef7363(v=vs.90).aspx ####
ASP.net 3.5 Unleashed by Stephen Walther Chapter 19 gives a blow by blow example with sample code for binding a menu control directly to the database - a Hierarchical table.

Happy coding Smile | :)
GeneralRe: Infinate levels of hierarchal data Pin
AspDotNetDev4-Oct-12 12:24
protectorAspDotNetDev4-Oct-12 12:24 
GeneralRe: Infinate levels of hierarchal data Pin
asdrog4-Oct-12 13:20
asdrog4-Oct-12 13:20 

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.