Datagrid Girl

Marcie, ASP.NET Datagrid Blogger Girl

More on Datagrids Sucking

Samer pointed me to this article on AngryCoder.  I have to agree with the article, don't use a Datagrid when a Repeater suits your needs better, when you need a more precise control over exactly what is outputted (output?) for each record in your DataSource.  A DataList can also sometimes serve as a happy medium--some of the features of a Datagrid, but more control over the HTML.

And a quote from the article:

When you really get down to it, the DataGrid server control implementation is not very robust or feature rich.

Yeah, I can hardly ever think of a time to use any of the Datagrid features like editing, sorting, and paging, not really very useful features at all.  :)

Datagrid Girl

Comments

Scott Watermasysk said:

IMO, the datagrid is great for quick side projects and admin tasks...

I recently had to write a grid like control for work. Very similar to the datagrid except it works it supports a couple of different formats (master detail), comes pre-built to sort and page (without jamming all of the extra stuff into viewstate) and can be populated by just setting a property to our custom reporting object.

The datagrid is a great example of what can be done with ASP.NET controls...you just have to implement them.

The repeater is by far the most helpful control. The entire blogging application is built off of repeater...they are everywhere :)
# May 2, 2003 4:32 PM

HumanCompiler said:

Come over and check out WindowsForms development, the water's just as cold over here, especially in the area of the DataGrid ;)
# May 2, 2003 11:22 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)