Hi,

Is there a simple control I can use with ASP.NET to display an unbound list with multiple columns (like the ListView control in VB6.)

It seems that you can use the GridView. but it seems really complicated to populate (with unbound data.)

Can you use the ListBox to do this?

Thanks!

Recommended Answers

All 4 Replies

I can find a listbox that allows you to display the unbound data in multiple columns, but no listbox (or other control) that allows you to have data across columns.

You can use DataList because it allows the displaying of unbound data. Please try with it.

You can use DataList because it allows the displaying of unbound data. Please try with it.

Thanks for answering.
I've tried with the Datalist before, but I can't figure out how to add items to it.
I've tried the Datalist.Items method with no luck.

Could you give me some example source code to look through. (Preferably VB if you have :) )

Thank you!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.