.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Database design for treeview and content

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :ASP.Net
HiI"m student and need help to design a database for treeview and some content.I need a database design with treeview and it's childnodes,  different content for each node, and modules for each page, like search, contact form and etc... with ability to turn it on and off.Maybe you can show me the way or maybe you have some good links for database design. Any help would be appreciated.THANKS

View Complete Post

More Related Resource Links

database interface design question


For handy database interface, is it good to use SqldataSources exclusively intead of EntLib functions?

Thanks for any feedback.

How to get access to content database after server hardware failure


Sharepoint server 2007 and remote sql 2000 SP4 database, after ShraPoint server crash only content databases are available and intact. Trying to restore from backup fail, stsadm -o restore says that not valid backup is available on path. How to get access to available content database using a new installation with same server name, ip address and partitions configuration. How to recover site with content databases information.

Regards, thanks for help.

Victor Naranjo MCSE + Security MCSA + Security MCSE + Messaging MCSA + Messaging ITIL Certified Comptia Security+

MOSS Content Database has more documents than what's seen on browser

I am not sure how sharepoint internally handles stuff, but this is what I see. I am a SQLDBA and one of my company sharepoint group re-organized a site, by moving some files from a document library to another document library. I think she used the content deployment.

When she see the number of documents in the document library it showed 700 documents. She moved only 50 of them. I went into the database and queried the Docs and DocStreams View and I get the list of all the those documents. I see both the ones that we see on the site as well as something that we do not see on the site.


ad.DirName, ad.LeafName, TimeCreated, ads.size/1024 as [Size(KB)], SetupPath

FROM Docs ad, DocStr

Estimate weight of BLOB data in our content database

How can I estimate overall size of blob data?

SharePoint Version 2.0 (WSS 2.0 SP3) Content Database restore to new farm

Is it possible to use an SQL backup from a sharepoint Version 2 SP3 database to restore the content on a new server farm and attach to a new web applicaiton. NOTE: This is WSS 2.0. In WSS 3.0 this is a very simple task, but it is not the same in WSS 2.0 (the add content database option CANNOT be used to attach to an existing content database like it does in WSS 3.0). The options I have found appear to say you need the configuration database from the old server then it can be done. I am migrating from an outsourced deployment, so I do not have access to that. Plan B is to do a sharepoint STSADM backup. THis seems to be a more likey way to do it.

Cannot create content database: The specified SPConfigurationDatabase Name=SharePoint_Config Parent=

Guys, This is the farm configuration: 1. SQL Server 2005 back end server 2. WSS 3.0 / MOSS 2007 WFE Server 3. WSS 3.0 / MOSS 2007 Index/WFE Server All servers are showing the version: in 'Servers in Farm' in C.A. When attempting to add a new content database, the following error is thrown in the web UI: The specified SPConfigurationDatabase Name=SharePoint_Config-New Parent=SPDatabaseServiceInstance has been upgraded to a newer version of SharePoint. Please upgrade this SharePoint application server before attempting to access this object. Furthermore the following is posted to the application event log on the WFE hosting central admin: Database 'SharePoint_Config-New' on SQL Server instance 'XXXXXXXX' is not empty and does not match current database schema. There is nothing of further interest in the trace log, just the same error as above. No errors on the SQL server either. Also no updates have been installed, and content databases HAVE been created since the last updates were installed 2 years ago. Can anyone suggest anything before I raise a call with MS? I have checked permissions for the sharepoint system account on the databases and all seems fine. Cheers, Conrad    Conrad Goodman MCITP SA / MCTS: WSS3.0 + MOSS2007

database design for multiple vendors

 I have constructed a simple database schema with one vendor.now i would like to add multiple vendors who can/may provide similar products. so i am looking for a design that lists products,there attributes and can be filtered on respective Product Sizes,Brand,Colour easily.    

How to get previous version of content database

Hi,   Setps I did.... 1. Created Site collection with url http://server.80/Site1 2. taken the back up of dev server site collection and trying to restore with this new site collection 3. But, i restored in http://server.80/ How to get the content databse back up of http://server.80/  Pls its very urgent......................   Thanks in Adv..................

Content Database Purge ?

  I just made an experiment: created new web app created new site collection put there a doclib1 with 5 Gb of pdf documents checked size of content db in sql studio - it was 5.5 Gb with 300 Mb available (free, but reserved space, that can be redeemed with shrink operation) Then i deleted doclib1 Then i cleaned recycle bin (2 level), so on this stage the data is totally deleted on site level with no restoration options Checked the db - 5.5 Gb (which is normal) with 800 Mb available. Why 800 Mb and not 5 Gb ? Why i can redeem only 500 Mb in the end ? Are sharepoint content dbs are even made for redeeming space after some of its contents are deleted ?

VS 2010 could not find database at design time

Hi all, I'm having this problem.... Scenario: C# 2010, WPF, SQL Compact 3.5 SP2. I'm working at a wpf window which loads records from a SQL Compact DB and shows data in textboxes. At runtime everything works perfectly but since this morning (working on it last 2 days) i'm not able to edit the window at DesignTime. As soon as I open the window with the wpf editor I got the error (translating from Italian): "Impossible to find the database. Check the database path. [Data Source = C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\thedbfile.sdf]" Now, in settings and app.config I have the connection string which is something like Data Source=|DataDirectory|\thedbfile.sdf I don't understand why and where NOW (only since this afternoon) at Design Time VS look that path for the database, while at RunTime it's ok. Again, I'm using Datasets, and I can preview data, ecc., as said everything is ok except the edit of the window which crash with this error.... thanks

what is the better design for location of system database data / log files and user data/log file,

is there a guideline for better performance for system database data location log location, like tempdb location etc. also better location for user databases/data and log.

How to insert data to Treeview control from database

I want to make a menu used treeview control.so I can get data from database,I want to see in treeview.My database: Tablename: Menu,Field: Id,ParentId,Title.How do see this table in treeviewExample:--Main menu1 -- id is 1,parent id is null        -- sub menu1 -- id is 3,parent id is 1        -- sub menu2 -- id is 4,parent id is 1--Main menu2 -- id is 2,parent id is null         -- sub menu1 -- id is 5,parent id is 2         -- sub menu2 -- id is 6,parent id is 2

after restoring content database getting error (HTTP/1.1 200 OK Server: Microsoft-IIS/7.5 Date: Tue,

Hi All, Problem i have taken backup of Old site content database procedure see below 1) first i changed the database to read only mode (Opened SQL Server2005-->selected DB--> properties--> Option-->Database Read-Only=True) 2) taken backup of database from the task--Backup(new.bak) 3) Copied the taken backup to new server and restored (Opened SQL Server2005 --> Right Click on Database Folder--> Restore Dataase) In To database: ihave given DB name From Device: i have selected database from the location where i have saved. click ok.  It has restored successfully 4) I have created a new webapplication and removed its content database from central admin. 5) with the help of stsadm command i restored the above db to this webapplication. then iam getting below error: HTTP/1.1 404 Connection: close Date: Tue, 14 Sep 2010 06:20:08 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET MicrosoftSharePointTeamServices: i have refered the below url for restoring http://metahat.blogspot.com/2008/11/backup-restoring-sharepoint-2007-site.html Please help. Thanks in advance.

Need Suggestion for Database Design ...

Hi folk..i want suggestion to design my database tablesi have senario likehere i have a job which will start and then completeso i have fields like StartTime, CompleteTime to store both timestamp...now i need to find the time consumed in this process [(CompleteTime - StartTime) Hrs:min:Sec]so i have two optionshave a field in database Table which will calculate the ConsumedTime for each recordwhen i need to display the consumedtime, i will calculate the differencee.from above which is better.??Assumptions :The table will have a large number of recordsThanks

Powerhsell script for MOSS 2007 to get content database size



Can you please provide me a script to get content database size in MOSS 2007.




Database Design



I am creating a very high level relational database diagram for attendance and payroll system.


so far I have taken these table into account .







....I am confuse in salary process how to store details related to that...and with which tables it would have relations.Here I want salary process to be done and also payslip has to be generated.


Thanks In Advance. 


Dental Database Design Help


Currently i doing dental appointment website for my lessons, and i having problem in database design. The major of the database is for appointment booking and view information.

The flow

Admin doing the registration for patient, admin, dentist.

Patient login > view dentist > view appointment > make appointment   or view treatment comment

Dentist login > insert patient treatment comment   /   view appointment

Admin > view appointment > Delete appointment and others stuff like report

While creating the dental user table, should i include the dentist into dental user table?Should i create 1 more table for registration ?

I having problem in linking all the table ..Kindly if you could help me in giving suggestion / ideas. Thank you.

Dentist Table

Dentist ID (Primary Key)

Dentist Name

Dentist Specialize

Dentist Contact Number

Dentist Email

Dentist Job Description


Appointment Table

Appointment ID (Primary Key)

Dentist ID (Foregin Key)

Appointment Time

Appointment Date

Dental User Table




Identification Card Numner


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend