因此,错误是: ASP兼容性是打开的,我应该打开、允许或请求:)请参见消息: The service cannot be activated because it requires ASP.NETASP.NET compatibility is not enabled for this application.ASP.NET compatibility is enabled for this application.ASP.NET compatibility is enabled for th
我正在使用<asp:FileUpload>和<asp:button>控件上载文件,但我希望在不使用回发的情况下上载文件。单击按钮后,我将执行以下代码。EventArgs e) string strFileName = Path.GetFileName(FileUpload1.FileName); //fileupload1 is the <aspimgupload is the <img ID on which I am showing the image after u