Render similar data in C# by grouping

Posted by Ted on Stack Overflow See other posts from Stack Overflow or by Ted
Published on 2010-04-14T06:42:40Z Indexed on 2010/04/14 6:43 UTC
Read the original article Hit count: 255

Filed under:
|
|

I am trying to create some dynamic html out of some data from db. My data returned from db is:

ApplicationName URL

AppName1 URL1 AppName2 URL1 AppName2 URL2 AppName1 URL2

I want that all URL's for a single application should be rendered under one heading of ApplicationName. Like:

AppName1

  URL1

  URL2

AppName2

  URL1

  URL2

Can anyone help me in the code for this?

© Stack Overflow or respective owner

Related posts about dynamic

Related posts about html