|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Submit Button
if i wanted to do an insert statement..where i should put the code..is it under the sub Submit_OnClick??? or anywhere on the form itself?
|
|
#2
|
|||
|
|||
|
a form submits to a page. in this case the page would be a script. this script would be an ASP script (probably). inside that script you would execute the insert statement.
the form is client side and your database is server side. anywhere in the form is of no use to you.
__________________
Programmer's Corner |
|
#3
|
|||
|
|||
|
can u explain more..i don get u?..the code should be or shouldnt be under sub submit_Onclick?...if not for wat purpose v r using the Sub Submit_onclick?
im using asp...vbscript... |
|
#4
|
|||
|
|||
|
that is client-side script. it can have many purposes but is usually for client-side validation. using client-side validation isn't very good as it can be easily bypassed so i would recommend using server-side validation.
how much do you know about ASP? |
|
#5
|
|||
|
|||
|
emmm...abt 50%...
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Submit Button |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|