10 2009 档案
摘要:配置httpRuntime也可以让FileUpload上传更大的文件,不过设置太大了会因用户将大量文件传递到该服务器而导致的拒绝服务攻击(属性有说明)<httpRuntime><httpRuntime useFullyQualifiedRedirectUrl="true|false" maxRequestLength="size in kbytes" executionTimeo...
阅读全文
摘要:protected void btnup_Click(object sender, EventArgs e) { if (lb_busspot.SelectedIndex == -1) { return; } //获得连续选中的项索引 int[] Indices = lb_busspot.GetSelectedIndices(); int length = Indices.Length; stri...
阅读全文
摘要:1、一般情况下,Response.Redirect 方法是在服务器端进行转向,因此,除非使用 Response.Write("<script>window.location='http://dotnet.aspx.cc';</script>") 方法外,是不能在新窗口打开所指定的 URL 地址的。但是,如果仔细分析一下,如果设置 form 元素的 target 属性,还是有...
阅读全文
浙公网安备 33010602011771号