• 全部
  • .NET Framework
  • ASP
  • Web Services
  • .NET互联网桌面应用
  • VB
  • 图表区
  • 分析与设计
  • 组件/控件开发
  • AppLauncher
  • 问答

为什么下载文件时会把网页得HTML也一起下载???

simonzone 2004-11-02 09:39:39
ompt Creating sequence REQUIREID
prompt ===========================
prompt
create sequence REQUIREID
minvalue 1
maxvalue 9999999999
start with 161
increment by 1
cache 20;

prompt
prompt Creating sequence RESULTID
prompt ==========================
prompt
create sequence RESULTID
minvalue 1
maxvalue 99999999999
start with 41
increment by 1
cache 20;


spool off
rt with 61
increment by 1
cache 20;

prompt
prompt Creating sequence EDITEVENTID
prompt =============================
prompt
create sequence EDITEVENTID
minvalue 1
maxvalue 9999999999
start with 61
increment by 1
cache 20;

prompt
prompt Creating sequence MYPRODUCTID
prompt =============================
prompt
create sequence MYPRODUCTID
minvalue 1
maxvalue 9999999999
start with 21
increment by 1
cache 20;

prompt
prompt Creating sequence MYTASKID
prompt ==========================
prompt
create sequence MYTASKID
minvalue 1
maxvalue 9999999999
start with 101
increment by 1
cache 20;

prompt
pr

--------------以下是多出得网页内容------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>UpLoad</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="ie.css" type="text/css" rel="stylesheet">
<script language="javascript">
function back()
{
history.go(history.length-1);

}
</script>
</HEAD>
<body bottomMargin="1" leftMargin="1" topMargin="1" rightMargin="1" MS_POSITIONING="GridLayout">
<form name="Form1" method="post" action="UpLoad.aspx?require=161" id="Form1" enctype="multipart/form-data">
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" value="dDwtMjA2MzgzMDA3Njt0PDtsPGk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jtpPDI+O2k8Mz47aTw0Pjs+O2w8dDxwPHA8bDxUZXh0Oz47bDwxMDc7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPGFzZWFzZDs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8eHguc3FsOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxTeXN0ZW0uQnl0ZVtdOz4+Oz47Oz47Pj47Pj47Pj47Pj47Pj47bDxjaGtvbmU7RGF0YUdyaWQxOl9jdGwzOmNrYkJveDE7RGF0YUdyaWQxOl9jdGw0OmNrYkJveDE7RGF0YUdyaWQxOl9jdGw1OmNrYkJveDE7RGF0YUdyaWQxOl9jdGw2OmNrYkJveDE7Pj5zf/gq1BUNBYK38h4Zx65JRco5Dw==" />

<script language="javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
theform = document.forms["Form1"];
}
else {
theform = document.Form1;
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>

<TABLE width="100%" bgColor="#6699cc" border="0">
<TR>
<TD><B><IMG height="50" src="pic/input.gif" width="64" align="absMiddle" style="WIDTH: 64px; HEIGHT: 50px">
<FONT color="white" size="3">需求管理-</B>附件</FONT>
</TD>
</TR>
</TABLE>
<table width="100%">
<tr bgColor="lightskyblue">
<td><span style="font-size:X-Small;"><input id="chkone" type="checkbox" name="chkone" onclick="__doPostBack('chkone','')" language="javascript" /><label for="chkone">全选</label></span> <input type="submit" name="Button2" value="删除选中附件" id="Button2" class="aspbut1" style="height:24px;width:112px;" />
<input type="submit" name="Button4" value="返回" id="Button4" class="aspbut1" style="height:24px;width:88px;" />
</td>
</tr>
<tr>
<td><table cellspacing="0" rules="all" border="1" id="DataGrid1" style="font-size:X-Small;width:100%;border-collapse:collapse;">
<tr style="color:#0000CC;background-color:LightSkyBlue;">
<td>选择</td><td>附件描述</td><td>文件名</td><td>内容</td><td> </td>
</tr><tr>
<td style="width:30px;">
<input id="DataGrid1__ctl3_ckbBox1" type="checkbox" name="DataGrid1:_ctl3:ckbBox1" />
</td><td>sdfsdfsdf</td><td>ie.css</td><td>System.Byte[]</td><td><input type="submit" name="DataGrid1:_ctl3:_ctl0" value="下载" /></td>
</tr><tr style="background-color:AliceBlue;">
<td style="width:30px;">
<input id="DataGrid1__ctl4_ckbBox1" type="checkbox" name="DataGrid1:_ctl4:ckbBox1" />
</td><td>样式表</td><td>ie.css</td><td>System.Byte[]</td><td><input type="submit" name="DataGrid1:_ctl4:_ctl0" value="下载" /></td>
</tr><tr>
<td style="width:30px;">
<input id="DataGrid1__ctl5_ckbBox1" type="checkbox" name="DataGrid1:_ctl5:ckbBox1" />
</td><td>sdfsdf</td><td>剩余问题</td><td>System.Byte[]</td><td><input type="submit" name="DataGrid1:_ctl5:_ctl0" value="下载" /></td>
</tr><tr style="background-color:AliceBlue;">
<td style="width:30px;">
<input id="DataGrid1__ctl6_ckbBox1" type="checkbox" name="DataGrid1:_ctl6:ckbBox1" />
</td><td>aseasd</td><td>xx.sql</td><td>System.Byte[]</td><td><input type="submit" name="DataGrid1:_ctl6:_ctl0" value="下载" /></td>
</tr><tr style="border-color:White;">
<td colspan="6"><span>1</span></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" bgcolor="aliceblue">
<tr>
<td style="WIDTH: 92px" align="right"><FONT face="宋体" size="2">附件描述</FONT></td>
<td style="WIDTH: 296px"><input name="txtDesc" type="text" id="txtDesc" style="width:296px;" /></td>
<td align="right" style="WIDTH: 76px"><FONT face="宋体" size="2">内容</FONT>
</td>
<td style="WIDTH: 342px"><input name="file1" id="file1" type="file" style="WIDTH: 328px; HEIGHT: 22px" size="35" />
</td>
<td>
<input type="submit" name="Button1" value="上传附件" id="Button1" class="aspbut1" style="width:104px;" />
</td>
</tr>
</table>
</form>
</body>
</HTML>
...全文
214 点赞 收藏 5
写回复
5 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
simonzone 2004-11-02
也许是最后漏了 Response.End() 命令关闭输出?

-----------------------------------------------
正确.
回复
jadeface 2004-11-02
也许是最后漏了 Response.End() 命令关闭输出?
回复
simonzone 2004-11-02
你没有看懂问题。
回复
simonzone 2004-11-02
没有html,那网页怎么显示呀?
----------------------------------

这我都不知道,我还混什么?
回复
sucesss 2004-11-02
没有html,那网页怎么显示呀?
回复
相关推荐
发帖
.NET技术社区
创建于2007-09-28

5.8w+

社区成员

.NET技术交流专区
申请成为版主
帖子事件
创建了帖子
2004-11-02 09:39
社区公告
暂无公告