Home All Groups Group Topic Archive Search About

datagrid vs datagridview

Author
9 Oct 2006 5:56 AM
GS
seems to me both requires extra coding to do update to data bind form sql
adapter. however it is easier to customize the column width for
datagridview.  for best practise which one should one use if one intend to
update the table in the bound slate?

For example user may add a row, change a row and even delete a row.

and what is the proper way to update?  There seem to be  Ondeletecommand, on
UpdateCOmmand,...

Author
10 Oct 2006 4:14 AM
Cor Ligthert [MVP]
GS,

Although it are two complete different controls, is in most scenario's the
datagridview in my idea very much easier to handle than the datagrid if you
need a column/row style control which is bounded to a datatable.

Just my opinion,

Cor

Show quoteHide quote
"GS" <gsmsnews.microsoft.co***@msnews.Nomail.com> schreef in bericht
news:eAKqpe26GHA.4592@TK2MSFTNGP04.phx.gbl...
> seems to me both requires extra coding to do update to data bind form sql
> adapter. however it is easier to customize the column width for
> datagridview.  for best practise which one should one use if one intend to
> update the table in the bound slate?
>
> For example user may add a row, change a row and even delete a row.
>
> and what is the proper way to update?  There seem to be  Ondeletecommand,
> on
> UpdateCOmmand,...
>
>
>
Author
10 Oct 2006 7:12 AM
GS
thx. I feel the same at least from designer's point of view to setup
customized column width

There seem to be quite a few post of not able to update the real database
using either.

With vast number of events in both controls, I can see easy confusion.

Can you enlighten me so I don't fall into that pit of nothing works to
update?

Actually I tried but failed so far using intrinsic events and members.  In
some way even the Java Jtable seem easier to deal with of update, delete,
add rows to database

I am still plugging away at  the tutorial form the built-in help for
datagrid

Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:%2379fmJC7GHA.4404@TK2MSFTNGP04.phx.gbl...
> GS,
>
> Although it are two complete different controls, is in most scenario's the
> datagridview in my idea very much easier to handle than the datagrid if
you
> need a column/row style control which is bounded to a datatable.
>
> Just my opinion,
>
> Cor
>
> "GS" <gsmsnews.microsoft.co***@msnews.Nomail.com> schreef in bericht
> news:eAKqpe26GHA.4592@TK2MSFTNGP04.phx.gbl...
> > seems to me both requires extra coding to do update to data bind form
sql
> > adapter. however it is easier to customize the column width for
> > datagridview.  for best practise which one should one use if one intend
to
> > update the table in the bound slate?
> >
> > For example user may add a row, change a row and even delete a row.
> >
> > and what is the proper way to update?  There seem to be
Ondeletecommand,
> > on
> > UpdateCOmmand,...
> >
> >
> >
>
>