本文介绍了如何通过查询字符串将选定值下拉到经典ASP中的另一个表单。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是经典Asp的新手,我想通过查询字符串将下拉中选择的值发送到另一个表单。



我试过如下:我试过这样< FORM method =POST;行动= 包括/ bfl_forms.asp型= S&ID =? &rsStates( UID)>并且

< FORM method =POST; action =Includes / bfl_forms.asp?type = S&id =&dest.options [dest.selectedIndex] .value>



就像我填充的方式下拉如下:

private sub generateStateDropDownList()

temp =

temp = temp +

temp = temp +选择一个州

rsStates.MoveFirst

请勿做rsStates.EOF

temp = temp +



请建议我并提前致谢。

I am new to classic Asp, I want to send the value selected in drop down to another form through query string.

I tried as below: I tried like this <FORM method="POST"; action="Includes/bfl_forms.asp?type=S&id="&rsStates("UID")> and
<FORM method="POST"; action="Includes/bfl_forms.asp?type=S&id="&dest.options[dest.selectedIndex].value>

by the way I am populating drop down by as below :
private sub generateStateDropDownList()
temp = ""
temp = temp + ""
temp = temp + "Select a State"
rsStates.MoveFirst
Do While NOT rsStates.EOF
temp = temp + ""

Please suggest me and Thanks in advance.

推荐答案


这篇关于如何通过查询字符串将选定值下拉到经典ASP中的另一个表单。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 04:57