Click to See Complete Forum and Search --> : Best way to display multiple records


Coolboylp
June 29th, 2008, 08:18 AM
Hi All,

I have a small database which contains data of different companies. Some companies have multiple locations (branches).

I want to show all these records on a gridviiew but would like to collapse on the companies with multiple branches. So that when the users clicks on the company name it expands and shows all the branches under that.

What's the best way to display these records. Each record has a unique ID number as well as a link ID.

I'm using Visual Web Developer 2008 Express Edition.

THANK YOU

Rohit Kukreti
June 30th, 2008, 04:34 AM
http://www.progtalk.com/ViewArticle.aspx?ArticleID=54

nabeelisnabeel
June 30th, 2008, 05:52 AM
I think you need to group your data with respect to companies.

getzephyr
July 1st, 2008, 05:06 AM
I think as told by nabeelisnabeel, it's best way to group your data with respect to companies so it's becomes easy to display records one by one.