12 2010 档案

摘要:HttpPostedFileBase f = Request.Files["txtFile"]; HttpFileCollection collection = System.Web.HttpContext.Current.Request.Files; 阅读全文
posted @ 2010-12-30 11:37 Kong, Star 阅读(217) 评论(0) 推荐(0) 编辑
摘要:var collection = charts.OrderByDescending(item = item.Value).Take(10).ToList(); Dictionarystring, int dictionary = new Dictionarystring, int(); foreach (var item in collection) { dictionary.Add(item.Key, item.Value); } 阅读全文
posted @ 2010-12-21 17:19 Kong, Star 阅读(278) 评论(0) 推荐(1) 编辑
摘要://获取角色的ID function getRoleID(checkBoxName) { var selectRoleID = ""; $("input[name='" + checkBoxName + "']").each( function() { if ($(this).attr('checked') == true) { selectRoleID += $(this).val() + ","; } } ); return selectRoleID;}$("input[type='checkbox']:checked").attr("value"); 阅读全文
posted @ 2010-12-14 09:57 Kong, Star 阅读(423) 评论(0) 推荐(0) 编辑