someset:你好.
请问一下Select 是怎么传的?
我的程序是这样的.麻烦你帮我看看那里错了.
也面1
<%@LANGUAGE="VBSCRIPT"
CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;
charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<form name="form1"
method="post"
action="Untitled-3.asp"
target="_blank">
<p>&nbsp;
</p>
<p>
<select name="select"
size="1">
<option value="001">001text</option>
<option value="002">002text</option>
<option value="003">003text</option>
</select>
</p>
<p>&nbsp;
</p>
<p>
<input type="submit"
name="Submit"
value="提交"
>
</p>
</form>
</body>
</html>
页面2--Untitled-3.asp
<%@LANGUAGE="VBSCRIPT"
CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;
charset=gb2312">
<title>无标题文档</title>
</head>
<%
astr=request.Form("select"
response.Write(astr)
%>
<body>
</body>
</html>
Delphi
procedure TForm1.Button5Click(Sender: TObject);
ArgList: TStringList;
var
ArgList := TStringList.Create;
ArgList.Clear;
ArgList.Append('select=001&Submit=%CC%E1%BD%BB');
self.Memo1.Lines.Add(self.IdHTTP1.Post('http://localhost/Untitled-3.asp', ArgList));
memo1.Lines.SaveToFile('c:/searchp.html');
ArgList.Free;
请问为什么返回值与单击"提交"按钮的返回也面的html不一样?
TKS!!!!!!!!!!!!!