Skip to Content
0
Former Member
Jan 02, 2008 at 09:24 AM

categories block doubt?

15 Views

hi,

i am working with usercontrol i go through sample sdk categoriesblock.ascx, can any one explain about this line.

categoryrepeater.DataSource = (ParentID == 0 ? bp.Catalog.GetChildCategories(true) : new NPCatalogCategory(ParentID).GetChildCategories(true));

Regards

Kannan.D