|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
datagrid vs datagridviewseems 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,... 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,... > > > 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,... > > > > > > > >
Combo Boxes in Datagrids
Detecting the browser once IE7 comes out Experience Request: GPS Application Can we determine at runtime if app is Console or Windows? How to lock a text file? How to debug program error on Windows with another language? Multi-dimensional array - Question on Data types Prompting for an IP address Tab groups in VB2003 debugging Connect to the right SQL Server during runtime |
|||||||||||||||||||||||