Items By Category

post_id: 39 / post_date: 2011-06-04

This is a simple crossmatrix of items by category or categories by item.
Its developed as a simple standalone page with a backing static class (with xml serialization for persistence) 3 simple structs for item, category and ItemInCategory.

There are 5 tabs which show one after the other (on the same page)
Cats: Manage List of Categories / Add
Items: Manage List of Items / Add
Matrix: Lets you add items to categories.
Cat Viewer: Shows list of categories, letting you see the items belonging to them.
Item Viewer: Shows list of Items, and the categories in which they belong.

Simple Xml serialization (no other database)
Easy to read manager class.
Matrix & Viewer tabs built with simple linq queries.

See tabs overleaf for the code or browse.

[tab:asp code behind]
[iframe src=""]

[iframe src=""]

[iframe src=""]

[tab: screenshots]