Insert from datagrid

  • Thread starter Thread starter Goen
  • Start date Start date
G

Goen

on previous version to add data in datagrid as easy, we just input value in
gird, when we move pointer record automatically save to table

in vb.net iam fell a stupid man to insert record in datagrid using ado.net,
is any way to do that, please sample code and thanks any way.
 
I haven't used VB.NET very much but ADO.NET
is "disconnected" so updating a database is a two step
process - update the in memory dataset, then update the
database using SQL statements (need a dataconnection, data
adapter, Insert/Update commands and about two dozen lines
of code). It's actually a bit hairy compared to the
Recordset based ADO model especially for Windows
applications where you really want a connected recordset.
You may want to use ADO, instead of ADO.NET, if it's a
windows app.
 
Back
Top