没有得到表格价值 [英] Not getting form values

查看:94
本文介绍了没有得到表格价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的asp页面中有以下代码行


Dim ix

ix = 1到Request.Form.Count

fieldName = Request.Form.Key(ix)

fieldValue = Request.Form.Item(ix)

Response.Write fieldName

Response.Write fieldValue&

下一页

Response.End


它不会返回任何字段的结果上一个表单页面。

有谁知道我可能会寻找什么?谢谢。


David

I have the following line of code in my asp page

Dim ix
For ix = 1 to Request.Form.Count
fieldName = Request.Form.Key(ix)
fieldValue = Request.Form.Item(ix)
Response.Write fieldName
Response.Write fieldValue &
Next
Response.End

It is not returning the results of any field on the previous form page.
Does anyone know what I might look for? Thanks.

David

推荐答案

相反看看


。Request.Form中的每个项目

Response.Write item& " - " &安培; Request.Form(item)& < br>"

next

Curt


" David C" < DL ***** @ lifetimeinc.com>在消息中写道

news:%2 ****************** @ TK2MSFTNGP12.phx.gbl ...
Instead look at

for each item in Request.Form
Response.Write item & "-" & Request.Form(item) & "<br>"
next
Curt

"David C" <dl*****@lifetimeinc.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
我的asp页面中有以下代码行

Dim ix
对于ix = 1到Request.Form.Count
fieldName = Request.Form.Key(ix)
fieldValue = Request.Form.Item(ix)
Response.Write fieldName
Response.Write fieldValue&
Next
Response.End
它没有返回上一个表单页面上任何字段的结果。
有谁知道我可能会寻找什么?谢谢。

大卫
I have the following line of code in my asp page

Dim ix
For ix = 1 to Request.Form.Count
fieldName = Request.Form.Key(ix)
fieldValue = Request.Form.Item(ix)
Response.Write fieldName
Response.Write fieldValue &
Next
Response.End

It is not returning the results of any field on the previous form page.
Does anyone know what I might look for? Thanks.

David





fieldName = ix

fieldValue = Request.Form(ix)

Bob Lehmann


" David C" < DL ***** @ lifetimeinc.com>在消息中写道

新闻:#q ************** @ TK2MSFTNGP12.phx.gbl ...

fieldName = ix
fieldValue = Request.Form(ix)

Bob Lehmann

"David C" <dl*****@lifetimeinc.com> wrote in message
news:#q**************@TK2MSFTNGP12.phx.gbl...
我有以下内容我的asp页面中的代码行

Dim ix
对于ix = 1到Request.Form.Count
fieldName = Request.Form.Key(ix)
fieldValue = Request.Form.Item(ix)
Response.Write fieldName
Response.Write fieldValue&
Next
Response.End

它不是返回上一个表单页面上任何字段的结果。
有谁知道我可能会寻找什么?谢谢。

大卫
I have the following line of code in my asp page

Dim ix
For ix = 1 to Request.Form.Count
fieldName = Request.Form.Key(ix)
fieldValue = Request.Form.Item(ix)
Response.Write fieldName
Response.Write fieldValue &
Next
Response.End

It is not returning the results of any field on the previous form page.
Does anyone know what I might look for? Thanks.

David



仍然没有。可能有问题,因为我在表格中有2< SPAM>

部分?


David


***通过开发人员指南 http://www.developersdex.com 发送***

不要只是参加USENET ......获得奖励!
Still nothing. Is there maybe a problem because I have 2 <SPAM>
sections inside of the form?

David

*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!


这篇关于没有得到表格价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆