Datagrid

  • Thread starter Thread starter Michael Chong
  • Start date Start date
M

Michael Chong

Can I add item directly into datagrid without going through database? Any
example? TQ!

Michael
 
Yes of course, when u work with datagrid you probably have a datasource
connected to the grid.

This datasource may be, a dataset, a datareader, an arraylist or some
other list... they all work as a disconnected datasource, which means
that u can modify them as u wish, without saving them in the
database/datastorage. When you are finished with editing, you may choose
to reject the changes or save, it is all up to u.

By working with the disconnected dataset you can add/delete/edit items
in the datagrid without influencing the database.

rgds

Michael said:
Can I add item directly into datagrid without going through database? Any
example? TQ!

Michael


--

+======================================================================+
| SparrowHawk The Magician |
| |
| |
| |
| |
+======================================================================+
| e-mail: sparvhok[NOSPAM]hotmail.com |
+======================================================================+
To send me an email, replace the [NOSPAM] tag with @ sign.
 
Back
Top