Insering into a database

Hi, if any one could send me code for inserting into a database using a DataSet. I want to insert a record into a .mdb file. Thanks in advance

WMZ

Comments

  • I assume you have everything bound and have generated everything you need... in a add new button OnClick sub:

    Me.BindingContext([dataset], "[table]").AddNew()



    That should work for ya


    : Hi, if any one could send me code for inserting into a database using a DataSet. I want to insert a record into a .mdb file. Thanks in advance
    :
    : WMZ
    :

  • Thanx for the reply, but I'm a beginner. I want a code the includes declaring a connection and a dataadapter and a dataset and with these three insert a new row into the database. Thank you

    : I assume you have everything bound and have generated everything you need... in a add new button OnClick sub:
    :
    : Me.BindingContext([dataset], "[table]").AddNew()
    :
    :
    :
    : That should work for ya
    :
    :
    : : Hi, if any one could send me code for inserting into a database using a DataSet. I want to insert a record into a .mdb file. Thanks in advance
    : :
    : : WMZ
    : :
    :
    :

Sign In or Register to comment.

Howdy, Stranger!

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

Categories