Click here to Skip to main content
16,011,849 members
Home / Discussions / Web Development
   

Web Development

 
QuestionCan JavaScript include file have relative URL Pin
Kevin McFarlane23-Jan-03 1:24
Kevin McFarlane23-Jan-03 1:24 
AnswerRe: Can JavaScript include file have relative URL Pin
DFU2328-Jan-03 4:50
DFU2328-Jan-03 4:50 
GeneralRe: Can JavaScript include file have relative URL Pin
Kevin McFarlane28-Jan-03 5:16
Kevin McFarlane28-Jan-03 5:16 
GeneralRe: Can JavaScript include file have relative URL Pin
DFU2328-Jan-03 5:18
DFU2328-Jan-03 5:18 
Generalrename html file to asp file - problem Pin
devvvy22-Jan-03 23:22
devvvy22-Jan-03 23:22 
GeneralRe: rename html file to asp file - problem Pin
Paul Riley23-Jan-03 0:16
Paul Riley23-Jan-03 0:16 
GeneralRe: rename html file to asp file - problem Pin
Jonavis25-Jan-03 13:03
Jonavis25-Jan-03 13:03 
Generalhierachical data Vs relational data Pin
devvvy22-Jan-03 23:17
devvvy22-Jan-03 23:17 
hi, i'm just wondering if anyone has spent time on message boards that assumes a tree/hierachical structure - example: code project.

u can have a table of "threads". But each thread can have "child" threads and "child" threads can, in turn, have a whole bunch of child threads.

I know u can use a tree control (by the way, any suggestion?), but how can you store tree/hierachical data in a SQL server (relational database)? What's the best way to store hierachical data in this application?

Let me venture a guess... encode the structure in a char field. Say...

msgID="12-3-5"

parsing the msgID field:
(a) thread 12
(b) level one msg 3
(c) level two msg 5

Then, you'll need to build a parser. Parse, then load the data into the right place in a tree control... so clumsy... any suggestion?


Thanks!

norm
GeneralRe: hierachical data Vs relational data Pin
Paul Riley23-Jan-03 0:58
Paul Riley23-Jan-03 0:58 
GeneralRe: hierachical data Vs relational data Pin
devvvy23-Jan-03 16:28
devvvy23-Jan-03 16:28 
GeneralRe: hierachical data Vs relational data Pin
Paul Riley23-Jan-03 22:19
Paul Riley23-Jan-03 22:19 
GeneralRe: hierachical data Vs relational data Pin
devvvy24-Jan-03 7:16
devvvy24-Jan-03 7:16 
GeneralRe: hierachical data Vs relational data Pin
Paul Riley24-Jan-03 7:21
Paul Riley24-Jan-03 7:21 
Questionwhat is octet-stream? Pin
murali_utr22-Jan-03 0:03
murali_utr22-Jan-03 0:03 
GeneralCDONTS Message Layout Problem Pin
Kevin McFarlane21-Jan-03 23:46
Kevin McFarlane21-Jan-03 23:46 
GeneralRe: CDONTS Message Layout Problem Pin
Jon Sagara22-Jan-03 4:42
Jon Sagara22-Jan-03 4:42 
GeneralRe: CDONTS Message Layout Problem Pin
Kevin McFarlane22-Jan-03 8:08
Kevin McFarlane22-Jan-03 8:08 
GeneralRe: Need freelance ASP/JS/SQL developer for overflowing work! Pin
Jonavis25-Jan-03 14:49
Jonavis25-Jan-03 14:49 
GeneralRe: Need freelance ASP/JS/SQL developer for overflowing work! Pin
Nathan Ridley25-Jan-03 15:23
Nathan Ridley25-Jan-03 15:23 
GeneralAnother CDONTS question Pin
vlusardi21-Jan-03 13:19
vlusardi21-Jan-03 13:19 
GeneralRe: Another CDONTS question Pin
Jon Sagara21-Jan-03 13:30
Jon Sagara21-Jan-03 13:30 
GeneralRe: Another CDONTS question Pin
vlusardi21-Jan-03 13:33
vlusardi21-Jan-03 13:33 
GeneralRe: Another CDONTS question Pin
Jon Sagara21-Jan-03 13:41
Jon Sagara21-Jan-03 13:41 
GeneralRe: Another CDONTS question Pin
vlusardi21-Jan-03 13:47
vlusardi21-Jan-03 13:47 
GeneralRe: Another CDONTS question Pin
vlusardi21-Jan-03 13:52
vlusardi21-Jan-03 13:52 

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.