DataList v Gridview

C

Chris

I want to use the datalist to show a formatted data. I can use the item
template to have an image to the left a bit of text to right etc. I would
like the ability to add paging. This only seems available in the gridview.
Is there any way to add an item template to the gridview? In Visual Studio
Express there only seems to be pager template.
 
C

Christopher Reed

You can add template fields to a GridView, though this may not be what
you're looking for.

As for paging with a DataList, you might look at this article:

http://aspnet.4guysfromrolla.com/articles/081804-1.aspx

More information can be found in the MSDN documentation on the
PagedDataSource. I haven't used this yet, but it definitely looks like
something I might tinker with in the near future.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top