469,604 Members | 2,381 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,604 developers. It's quick & easy.

DataList v Gridview

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.
May 7 '06 #1
1 1130
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.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Chris" <no****@btinternet.com> wrote in message
news:en**************@TK2MSFTNGP02.phx.gbl...
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.

May 15 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by staeri | last post: by
1 post views Thread by H5N1 | last post: by
reply views Thread by ammar_fake | last post: by
7 posts views Thread by =?Utf-8?B?cGF0cmlja2RyZA==?= | last post: by
reply views Thread by guiromero | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.