|
If you have used tables in SQL Server, Microsoft
Access, Paradox, and other database environments, you probably know that
their tables automatically save data as the user changes records and moves
through cells. Although it is one of the most regularly used objects of
databases in Microsoft Visual .NET, the DataGrid control doesn't
inherently provide this functionality, but for a good reason. By default,
the DataGrid control is not meant for databases only. When a DataGrid
control displays data, it allows a user to enter new data but doesn't save
it.
Data entered in a DataGrid is extremely easy to
save. This is simply taken care of by calling the Update method of your
data adapter.
|