locked
Inserting Data to an Access Database using a Wizard RRS feed

  • Question

  • User1803330851 posted

     I am wondering if someone has a bit of VB code that inserts data to an Access Database using a SQL statement on the finish button click.

     

    Thank you very much

    Thursday, October 23, 2008 8:59 PM

Answers

All replies

  • User-821857111 posted

    Which actual bit are you stuck on?

     

    Friday, October 24, 2008 2:40 AM
  • User1803330851 posted

    When I go to edit the VB script associated with my file, this is what it looks like:

     

    Partial Class secure_newjob
        Inherits System.Web.UI.Page



        Protected Sub Wizard1_FinishButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.FinishButtonClick

        End Sub

    End Class

     

    So I am wondering if there is a particular VB method that inserts to the database, where I can specify the SQL statement.

     

    Thanks for the help...


    Friday, October 24, 2008 12:50 PM
  • User-821857111 posted

    Have a look at this: http://www.mikesdotnetting.com/Article.aspx?ArticleID=26.  One of the samples shows inserting data into Access.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, October 24, 2008 2:10 PM