Form表单的请求地址参数问题

当需要在请求地址后面加上.Net参数时,form标签要把  runat="server" 去掉,否则,该参数不会获取到实际值 

<form id="myform" name="add" enctype="multipart/form-data" method="post" action="/handler/handlerfile.ashx?m=Case_Step6_LCZL_Post&dataGuid=<%=StrCmd %>" target="if_file" class="form-horizontal" role="form">

</form>

 

 

form标签有runat="server":

 

form标签去掉runat="server":

 

posted @ 2018-07-23 16:33  Chanwah  阅读(894)  评论(0编辑  收藏  举报