forms - Classic ASP WebForm Generator -



i'm newbie here , try learn here.

i wanna create classic asp program, , it's contain section users can make form ( contact, register , on).

now question is, when form created ( inputs have name , id )
how can read , save them in db ( here access db )

is here know example of web form generator?
please , guide me
thanks

you can value of form element using request.form("element_name").

<% username = request.form("input-username") password = request.form("input-password") %> 

considering know how connect access database, can save above informations database like:

<% rs.addnew() rs("username") = username rs("password") = password rs.update() %> 

update

to get, dynamically created form values, need for each... loop in request.form object.

<% each item in request.form response.write item & "=" & request.form(item) & "<br />" next %> 

also suggest read article.


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -