Dear All,
I am being tempted to use Grid as a ListView...and don't see a
reason why I should not use it as a ListView...I would like to know
the Pros and Cons for using Grid as a ListView...

Please help...

TALIA

Many Regards
Sunil

Re: Pros and Cons for using Grid as ListView by Claes

Claes
Thu Apr 22 02:13:18 CDT 2004

Pros:
- DataGrid supports databinding
- DataGrid supports datatypes other than string (but you
can always call ToString in a ListView)
- DataGrid supports sorting (but that can be
implemented in ListView since the native control
supports it)

Cons:
- DataGrid has a few bugs
- DataGrid is harder to work with (IMHO)
- DataGrid doesn't support fullrow select (but that can
be implemented)
- DataGrid doesn't look as nice and clean as a listview (IMHO)

We tried using datagrids as listviews in a project. That didn't work
very well so we switched to real listviews.

/claes


"Jack Wright" <sunil@volcanomail.com> wrote in message
news:8f556eeb.0404212126.293d0ebe@posting.google.com...
> Dear All,
> I am being tempted to use Grid as a ListView...and don't see a
> reason why I should not use it as a ListView...I would like to know
> the Pros and Cons for using Grid as a ListView...
>
> Please help...
>
> TALIA
>
> Many Regards
> Sunil