Click to See Complete Forum and Search --> : ASP script to store data into Access database.


jammer20002
09-11-2003, 11:39 AM
I'm really new to ASP. :(

I need a script that takes input from a HTML webpage and inserts it into an Access database.

I also need some kind of response after storing the data back to the HTML page saying that the data was stored successfully. (If not, I want an error to come up.)

I've looked around and all the examples seem to be more comlex than what I need.

Can anyone point me in the right direction?
Any help would be appreciated.

Thanks.


Jam

PeOfEo
09-11-2003, 05:11 PM
You are not going to be using an html page, you will need to make an asp page. I mean thats easiest way to do it and then when they fill out the form data on the asp page just then redirect them to an html thank you page or something. Trying to make your forms with html is actually a harder way to do things, I dont know asp but I do know asp.net and the way they work is very similar so I guess you can take my word for it on that one.

jammer20002
09-11-2003, 05:19 PM
Thanks for the reply...
But what I need to figure out is how I get the data into the database...! :)

I've never done it before... and doing a search on the internet brings up loads and loads of results...

I thought it would be really simple and easy? :confused:

magus
09-11-2003, 08:27 PM
You can view my code...in the attachment. Fell free to review and use it. You can use database of your own and the code inside for insert and post data from the form suppose to be easy to modified