chicaloca 0 Newbie Poster

hi everyone

my first post so sorry if i do anything wrong!

ive gotta design a small website with a backend database using access and visual studio 2008 for a uni project.

what I'm currently doing is having a form using detailsview so the customer can submit their details. when the insert button is clicked, their details are validated and sent to the access database.

my lecturer has given us a sample demo site, on this there is a form but no insert option. however when the user details are entered then the submit button is clicked the details are validated and a confirmation page is displayed.

how would I be able to have a form for the customer to enter their details without the insert/cancel option being visible?

i know that if i had a submit button the code would be

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
        Response.Redirect("infopage2.aspx")
    End Sub

but i dont know how to combine this with the form!

im so confused and gettign increasingly frustrated so any help would be appreciated!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.