Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 11th, 2011, 03:15 PM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile Content types and categories in single table

Hi Imar,
In CMS application you are managing ContentTypes and Categories in two tables. But later on suppose we have another subcategory Politics and Sports classified in Recent News then would you create 3 tables to manage the scenario? How all this Parent Child relationship can be managed in single table?

Many thanks...
 
Old December 11th, 2011, 04:17 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Since this is not directly related to the book, please try posting this in a more general ASP.NET or SQL Server forum. I believe you already have a thread going on on the same subject elsewhere.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old December 12th, 2011, 01:27 AM
Friend of Wrox
 
Join Date: Oct 2009
Posts: 341
Thanks: 14
Thanked 3 Times in 3 Posts
Smile

Hi Imar,
Yes you are right, this subject is going on here, and at here. But I am not getting any answer. I also google it but did not find suitable solution.

The matter is to display list in nested form, as described in the above 2 links. I am storing ParentId and CatId in the same table and able to store them too.

Thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
Get a Single Data Value from a Table pencilneck Visual Studio 2005 1 January 8th, 2008 02:55 PM
Changing table field types in VB scubasteve Access VBA 1 June 12th, 2006 12:24 PM
MySQL table types madhukp PHP Databases 1 December 16th, 2004 03:44 PM
Single and Double data types in vb Luke24 Beginning VB 6 1 November 1st, 2004 03:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.