上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 65 下一页
摘要: public static float? Average(this IEnumerable<float?> source) { if (source == null) throw Error.ArgumentNull("source"); double sum = 0; long count = 0 阅读全文
posted @ 2021-11-15 14:57 vba是最好的语言 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 官网上给的案例: // Custom class. class Clump<T> : List<T> { // Custom implementation of Where(). public IEnumerable<T> Where(Func<T, bool> predicate) { Conso 阅读全文
posted @ 2021-11-15 14:52 vba是最好的语言 阅读(907) 评论(0) 推荐(0) 编辑
摘要: 相关源码: public static bool All<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate) { if (source == null) throw Error.ArgumentNull( 阅读全文
posted @ 2021-11-15 14:20 vba是最好的语言 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 记录一次开发遇到的问题,项目是asp.net,webform,老项目了 前端是两个下拉框可以双击到另外一个下拉框里面的。 <div style="float: left; padding-top: 40px;"> <div style="height: 20px; margin-left: 11px 阅读全文
posted @ 2021-11-14 11:39 vba是最好的语言 阅读(28) 评论(0) 推荐(0) 编辑
摘要: DASM一下 ListItem : .method assembly hidebysig instance object SaveViewState() cil managed { // Code size 89 (0x59) .maxstack 4 //定义函数代码所用堆栈的最大深度,也指valu 阅读全文
posted @ 2021-11-13 23:36 vba是最好的语言 阅读(51) 评论(0) 推荐(0) 编辑
摘要: //TSource Aggregate<TSource>(this IEnumerable<TSource> source, Func<TSource, TSource, TSource> func); //求和 var list = Enumerable.Range(1, 100); var co 阅读全文
posted @ 2021-11-11 15:23 vba是最好的语言 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/daxnet/archive/2010/11/02/1867392.html 今天抽空将我写的与领域驱动设计有关的系列文章汇总于此,便于大家查看。根据撰写的进度,本列表会不定期更新,敬请关注! Entity Framework之领域驱动设计实践 E 阅读全文
posted @ 2021-11-10 13:03 vba是最好的语言 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 管理视图状态的类:StateBagStateBag类为控件提供属性保存的功能。StateBag类被成为状态包,其所包含的内容是页面上所有控件的属性集合,这些集合在.NET中以Control.ViewState的形式被访问。举例来说,一个TextBox在页面回发时,如何保存用户已经填写的数据?这就需要 阅读全文
posted @ 2021-11-10 12:13 vba是最好的语言 阅读(74) 评论(0) 推荐(0) 编辑
摘要: internal static string MapStringAttributeToString(string s) { // If it's an empty string, change it to null if (s != null && s.Length == 0) return nul 阅读全文
posted @ 2021-11-10 11:18 vba是最好的语言 阅读(24) 评论(0) 推荐(0) 编辑
摘要: AspNetPager分页控件使用方法 一、下载AspNetPager.dll 二、AspNetPager.dll复制于应用程序下的bin目录,打开解决方案,引用dll文件 三、 在工具栏中添加控件,这样可以支持拖拽使用 四、 要使用AspNetPager 要为其设置最基本的属性 示例: 1、前台显 阅读全文
posted @ 2021-11-01 23:46 vba是最好的语言 阅读(72) 评论(0) 推荐(0) 编辑
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 65 下一页