I'm very new to C# and Object Oriented languages in general. I'm
preparing to write a bookmarking application that needs to store
bookmarks and folders in a hierarchy. I'm thinking that I could create
bookmark and folder objects, the folders object having a collection of
other folder and bookmark objects. I think I can handle storing and
retrieving the hierarchy in my SQL Server, but I'm not sure what the
best way to handle them in the code is. Any suggestions.
I'll be using this solution in ASP.NET applications and we could
probably expect upwards of 1000 bookmarks and folders.
Thanks for any suggested solutions or resources.
Nate Baxley 4 2288
back to basics ---- worked with Linked list
-----------------------------------------------------------------------
Regards ,
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book http://www.geocities.com/dotnetinterviews/
-------------------------------------------------------------------------
My advice would be to do a lot of reading about typed DataSets and the
DataSet.Relations Property.
Regards,
Peter
"gr****@baxleys.org" wrote: I'm very new to C# and Object Oriented languages in general. I'm preparing to write a bookmarking application that needs to store bookmarks and folders in a hierarchy. I'm thinking that I could create bookmark and folder objects, the folders object having a collection of other folder and bookmark objects. I think I can handle storing and retrieving the hierarchy in my SQL Server, but I'm not sure what the best way to handle them in the code is. Any suggestions.
I'll be using this solution in ASP.NET applications and we could probably expect upwards of 1000 bookmarks and folders.
Thanks for any suggested solutions or resources. Nate Baxley
Hello Peter,
Futhermore, I suggest to use XmlDataDocument to present data as hiearchy
of node objects
P> My advice would be to do a lot of reading about typed DataSets and
P> the DataSet.Relations Property.
P> I'm very new to C# and Object Oriented languages in general. I'm preparing to write a bookmarking application that needs to store bookmarks and folders in a hierarchy. I'm thinking that I could create bookmark and folder objects, the folders object having a collection of other folder and bookmark objects. I think I can
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Thanks for the suggestions. I'll definetly be reading up. I guess my
biggest hesitation is that it seems like a lot of work to create all of
those relations in memory just to render the page and then throw them
away after the page is built. I'm guessing that you dont' want to
store all of this in the server memory. Will the DataSets support
Hierarchical relationships similar to Oracle, or am I stuck with
techniques like SQL Server?
Thanks again,
Nate Baxley
Michael Nemtsev wrote: Hello Peter,
Futhermore, I suggest to use XmlDataDocument to present data as hiearchy of node objects
P> My advice would be to do a lot of reading about typed DataSets and P> the DataSet.Relations Property. P> I'm very new to C# and Object Oriented languages in general. I'm preparing to write a bookmarking application that needs to store bookmarks and folders in a hierarchy. I'm thinking that I could create bookmark and folder objects, the folders object having a collection of other folder and bookmark objects. I think I can
--- WBR, Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour
"At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Yaro |
last post by:
Hi All
(UDB 8.1 FP8, Win)
In my simple test database, I have two tables
CREATE TABLE "DB2ADMIN"."AAA" (
"F1" INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY,
"F2" VARCHAR(10),
PRIMARY KEY...
|
by: Dave Veeneman |
last post by:
I have an object hierarchy that's several layers deep, and I'm puzzling over
how to access an object at any point in the hierarchy, solely by its key.
The hierarchy is similar to an...
|
by: Irfan Akram |
last post by:
Hello People,
I would appreciate your responses on this.
I am writing an asp.net web-application involving C#. I am actually building
a test hierarchy at the moment, which involves producing...
|
by: Brian Gideon |
last post by:
I stumbled across something odd today about the placement of the using
keyword. Section 9.3.2 of the C# v1.1 specification did not answer my
question. My confusion is isolated to what happens in...
|
by: Jim Bancroft |
last post by:
Hi everyone,
A basic one here, I think. I haven't found the pattern yet, but
sometimes when I cast a variable to another type using the "C" style cast
operator the compiler refuses to play...
|
by: Do |
last post by:
Hi,
I have a database table with the following fields: id, name, parentid.
These fields are supposed to create a hierarchy for a list box, an infinite
hierarchy
Child fields of parent fields...
|
by: ignatova |
last post by:
Hello,
I have been using IBM Net Search Extender to perform full text searches
on text columns in relational tables in DB2 without any problems until
now. However it doesn't seam to function...
|
by: Hexman |
last post by:
Hello All,
I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm
using some VB6 code, .Net2003 code,...
|
by: napolpie |
last post by:
DISCUSSION IN
USER nappie writes:
Hello, I'm Peter and I'm new in python codying and I'm using parsying
to extract data from one meteo Arpege file. This file is long file and
it's composed by...
|
by: krzysztof.konopko |
last post by:
Hello!
I want to design a class hierarchy with one base abstract class, let's
say CBase. I have a predicate that every object in the class hierarchy
must have a parent object of type from this...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |