03 2021 档案

web报错 文件上传“超过了最大请求长度”
摘要:原因:asp.net默认最大上传文件大小为4M,运行超时时间为90S。 修改web.config文件可以改变这个默认值 <configuration> <system.web> <httpRuntime maxRequestLength="1048576" executionTimeout="360 阅读全文

posted @ 2021-03-15 19:40 张不胖 阅读(177) 评论(0) 推荐(0) 编辑

button 不触发onclick事件 没有匹配委托的重载 No overload for 'button_Click' matches delegate 'EventHandler'
摘要:<asp:Button>和<button>是不一样的 迄今为止,我所知道的他们俩的区别是 <asp:Button>触发事件是直接用OnClick=“btn_Click”就可以在后台写逻辑,但不好加图标。 如果想在按钮上加图,要用Button的style。 例如: <asp:Button ID="Bu 阅读全文

posted @ 2021-03-15 19:14 张不胖 阅读(1793) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示