- 博客(10)
- 收藏
- 关注
转载 HTTP 错误 500.21
HTTP 错误 500.21 - Internal Server Error 解决方案管理员身份运行->%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i或者管理员 方式 进入命令行 : 64位系统:-->cd C:\Windows\Microsoft.NET\Framework64\...
2014-05-26 11:47:00
180
转载 脚本继续触发后台事件
脚本:function lnkWithdraw_Onclick(dom) {var isAccess=true;if (isAccess) {eval(dom.href); } }<asp...
2014-04-29 20:41:00
144
转载 gridView Repeater 单行记录操作触发后台事件
gridView 通过linkbuttion的click时间删除数据<asp:TemplateField HeaderText="Operate"> <ItemStyle HorizontalAlign="Center" Width="10%" /> <ItemTe...
2014-04-29 20:36:00
120
转载 jQuery 获取 checkbox 值
HTML:<asp:DataList runat="server" RepeatDirection="Horizontal" RepeatColumns="6" ID="dataList"> <ItemTemplate> <input type="checkbox" v...
2014-03-21 20:57:00
145
转载 JQuer 日期计算
function (dateText, days) { // 参数表示在当前日期下要增加的天数 var now = new Date(dateText.replace('-', ',')); // + 1 代表日期加,- 1代表日期减 now.setDate((now.getDate()) + 1 *...
2013-08-23 11:33:00
144
转载 JQuery UI 日历控件属性设置
$(function(){$("#datepicker").datepicker({dateFormat:'yy-mm-dd',//更改时间显示模式showAnim:"slide",//显示日历的效果slide、fadeIn、show等...
2013-08-23 11:23:00
165
转载 linq to sql 多条件组合查询
引用自:http://blog.youkuaiyun.com/shandian84/article/details/8677681//一個條件一個條件串接using System.Linq.Expressions;Expression<Func<ArticleList, bool>> exps = A => true;if (Grou...
2013-07-22 12:10:00
98
转载 设置IIS7文件上传的最大大小 maxAllowedContentLength,maxRequestLength
原文引用自:http://www.cnblogs.com/henryhappier/archive/2010/09/20/1832098.html设置IIS7文件上传的最大大小 maxAllowedContentLength,maxRequestLength当上传一个超过30M的文件时,服务器会重定向至404.13页面,报错如下:HTTP Error 404.1...
2013-05-09 18:24:00
195
转载 ASP.Net 后台Post 请求
此方法不是本人原创,记载于此方便日后查看,以及有需要的童鞋参考调用:string strKey = "12345678"; string content = SecurityHelper.EncodeBase64(strKey); string message = Utils.RequestorHelper.PostWe...
2013-04-01 17:27:00
370
转载 ASP.Net 模拟Html上传文件Post方式
本方法非本人原创,记载于此方便日后查看,也方便有需要的童鞋参考调用:NameValueCollection kv = new NameValueCollection(); kv["verify"] = "此处为接口需要的身份验证码"; //var files = Directory.GetFiles(@"E:\新建文件夹...
2013-04-01 17:19:00
133
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人