如何在文件上载接受工具中传递变量?
FrmFileUpload.aspx.cs
String Ext=".pdf";
FrmFileUpload.aspx
<asp:FileUpload ID="fileUpload1" runat="server" accept='<%=Ext%>' class="filestyle" data-icon="false" data-classbutton="btn btn-default" Width="500px" data-classinput="form-control inline input-s" AllowMultiple="true"/>
FrmFileUpload.aspx.cs
String Ext=".pdf";
FrmFileUpload.aspx
<asp:FileUpload ID="fileUpload1" runat="server" accept="Ext" class="filestyle" data-icon="false" data-classbutton="btn btn-default" Width="500px" data-classinput="form-control inline input-s" AllowMultiple="true"/>
接受文件上传工具中的传递变量。