Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

how to programatically add records to a datagrid?

Hi,

I have made a DataGrid, DataSet and DataAdapter to display and update, insert, delete records in the datagrid and save the changes back to an access datafile.
So a user is able to alter the data in the datagrid and saves them back to the access.mdb.

Now what i want is to programatically add new records to the datagrid.
Question: how?

Thanks,

VB Newbie

Comments

  • GideonOmegaGideonOmega Member Posts: 617
    : Hi,
    :
    : I have made a DataGrid, DataSet and DataAdapter to display and update, insert, delete records in the datagrid and save the changes back to an access datafile.
    : So a user is able to alter the data in the datagrid and saves them back to the access.mdb.
    :
    : Now what i want is to programatically add new records to the datagrid.
    : Question: how?
    :
    : Thanks,
    :
    : VB Newbie
    :
    :


    You would probably be better off adding the record directly to the database - through sql and ADO - then refreshing the data adapter.

    [blue]
    C:Dos
    C:Dos Run
    Run Dos Run
    [/blue]

Sign In or Register to comment.