 |
| ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

August 7th, 2004, 10:21 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Is Paging only avaliable in DataGrid?
Is Paging only avaliable in DataGrid?
Is paging possible in Repeater or DataList?
DataGrid seems to be the more powerful of the three. Because it has extra bells and whistles, does DataGrid need more memory than Repeater or DataList?????
I hope this is not a stupid question.
|
|

August 8th, 2004, 04:10 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
It's not a stupid question; just the DataGrid supports paging natively.
However, you can enable paging on the other two data bound controls using a PagedDatatSource object. The following article shows you an simple, yet very effective example:
http://www.devhood.com/tutorials/tut...tutorial_id=97
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

August 9th, 2004, 07:08 AM
|
|
Friend of Wrox
|
|
Join Date: Oct 2003
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am also curious to know if using a datagrid incurs a significant amount of overhead compared to the DataList. I would think that the datagrid has more overhead, but is it really a performance factor?
- - - - - - - - - - - - - - - - - - - - - - -
In God we trust, everything else we test.
|
|

August 10th, 2004, 03:49 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Yes, AFAIK, the DataGrid consumes more resources. It's a bigger class with more functionality, so I can imagine it takes more time to load and instantiate an objet of type DataGrid.
However, I wonder how much you really notice this on modern system. Personally, I wouldn't very easily choose another data control for performance reasons, but for functionality reasons. The DataGrid can do some stuff the other controls can't, but the opposite is also true. There are times where you must use the Repeater to get absolute control over the output, and you're forced to write the "missing functionality", like paging, yourself.
Cheers,
Imar
|
|

August 12th, 2004, 07:45 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Imar,
Thank you for your response however I don't know C# at all. Is there this example in VB.NET?
This information if very valuable to me.
Thanks.
|
|

August 14th, 2004, 08:55 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Bekim,
Sorry for the late response. I have been pretty busy lately.
Take a look at this C# to VB.NET converter: http://www.kamalpatel.net/ConvertCSharp2VB.aspx
I did a quick check with the code from the article, and I think it will convert it correctly.....
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

August 16th, 2004, 08:25 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you all
|
|
 |