Display Parent Child Categories

Discussion in 'ASP .Net' started by =?Utf-8?B?YXNhZA==?=, Sep 18, 2007.

  1. I have a Table which have some parent Categories and Sub Categories
    where parentCategory denoted by 0 parentID=0

    CategoryID CategoryNAme ParentId

    1 TestCat1 0

    2 TestCat2 0

    3 TestSubCat1 1

    4 TestSubCat2 1
    .. ............ .

    How can i show that type of parent child relation in my program i'm using
    ASP.NET With C#
     
    =?Utf-8?B?YXNhZA==?=, Sep 18, 2007
    #1
    1. Advertising

  2. =?Utf-8?B?YXNhZA==?=

    Mick Walker Guest

    asad wrote:
    > I have a Table which have some parent Categories and Sub Categories
    > where parentCategory denoted by 0 parentID=0
    >
    > CategoryID CategoryNAme ParentId
    >
    > 1 TestCat1 0
    >
    > 2 TestCat2 0
    >
    > 3 TestSubCat1 1
    >
    > 4 TestSubCat2 1
    > . ............ .
    >
    > How can i show that type of parent child relation in my program i'm using
    > ASP.NET With C#

    You could use nested repeaters.
     
    Mick Walker, Sep 18, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff Rodriguez
    Replies:
    23
    Views:
    1,161
    David Schwartz
    Dec 9, 2003
  2. Bobby Edward

    Question: Display FAQ Categories/Q&A from DB

    Bobby Edward, Oct 7, 2008, in forum: ASP .Net
    Replies:
    3
    Views:
    373
    sloan
    Oct 7, 2008
  3. Bobby Edward
    Replies:
    0
    Views:
    344
    Bobby Edward
    Oct 9, 2008
  4. Noel Dolan
    Replies:
    0
    Views:
    249
    Noel Dolan
    Jul 18, 2004
  5. Bitswapper
    Replies:
    5
    Views:
    162
    Prasad, Ramit
    Aug 27, 2013
Loading...

Share This Page