首页 相关文章 用表单来提交sql - 1

用表单来提交sql - 1

<%
'从表单中提取值
fName = request.form("fName")
lName = request.form("lName")
age = request.form("age")

'建立SQL语句
iStr = "insert into uData (fName, lName, age) "
iStr = iStr & "values ("
iStr = iStr & "'" & fName & "', "
iStr = iStr & "'" & lName & "', "
iStr = iStr & age & ")"

if trim(fName < "") then
response.write( iStr & "else
%

Gimme your:First Name: Last Name: [ 查看全文 ]

2016-01-29 标签:

用表单来提交sql - 1的相关文章

手机页面
收藏网站 回到头部