XXXXX
C/C++
XXXXX
C#/.net
XXXXX
js
java
java
开发导航 开发导航 www.endv.cn
天云

随笔分类 -  C#/.net

摘要:1 using Endv.Tools; 2 using System; 3 using System.Data; 4 using System.Drawing; 5 using System.IO; 6 using System.Windows.Forms; 7 8 namespace Endv 9 阅读全文
posted @ 2016-03-08 14:16 Endv 阅读(593) 评论(0) 推荐(0)
摘要:最近研究C#,发现写代码很麻烦,特别是创建实体、模型、接口、工厂、存储过程之类,网上有些开源的,但是不完整,也不能完整的按需求生成,于是,花了三天的时候,结合前辈的一些经验,整合了一些代码生成器,以下是存储过程的生成方法,可以借鉴一下,水平有限,请多指教。 1 /// <summary> 2 /// 阅读全文
posted @ 2016-03-04 00:12 Endv 阅读(2101) 评论(0) 推荐(0)
摘要:1 使用表参数 2 表变量(Table Parameters)可以将整个表数据汇集成一个参数传递给存储过程或SQL语句。它的注意性能开销是将数据汇集成参数(O(数据量))。 3 定义了一个表参数jk_users_bulk_insert 4 5 CREATE TYPE jk_users_bulk_in 阅读全文
posted @ 2016-02-25 01:05 Endv 阅读(978) 评论(0) 推荐(0)
摘要:1 public class WordOperate 2 { 3 4 #region 新建Word文档 5 /// <summary> 6 /// 动态生成Word文档并填充内容 7 /// </summary> 8 /// <param name="dir">文档目录</param> 9 /// 阅读全文
posted @ 2016-02-19 00:17 Endv 阅读(2107) 评论(0) 推荐(0)
摘要:Visual Studio Code Visual Studio Code for Windows Code editing redefined and optimized for building and debugging modern web and cloud applications. V 阅读全文
posted @ 2016-02-11 02:11 Endv 阅读(1354) 评论(0) 推荐(0)
摘要:Orchard 是由微软公司创建,基于 ASP.NET MVC 技术的免费开源内容管理系统: 可用于建设博客、新闻门户、企业门户、行业网站门户等各种网站 简单易用的后台界面 性能稳定,功能齐全 热拔插模块化架构提供超强可扩展性 BSD 协议授权,可用于商业闭源项目 http://dotnetnuke 阅读全文
posted @ 2016-02-11 01:37 Endv 阅读(573) 评论(0) 推荐(0)
摘要:1 http://dotnetnuke.codeplex.com/downloads/get/1458710 阅读全文
posted @ 2016-02-11 01:14 Endv 阅读(435) 评论(0) 推荐(0)
摘要:1 Microsoft Visual Studio Solution File, Format Version 12.00 2 # Visual Studio 14 3 VisualStudioVersion = 14.0.23107.0 4 MinimumVisualStudio... 阅读全文
posted @ 2015-12-08 20:01 Endv 阅读(1232) 评论(0) 推荐(0)
摘要:BuildsStaticbuilds provide one self-contained .exe file for each program (ffmpeg, ffprobe, ffplay).Available build typesSharedbuilds provide each libr... 阅读全文
posted @ 2015-07-06 20:18 Endv 阅读(1161) 评论(0) 推荐(0)
摘要:关于Visual Studio 2012中使用InstallUtil对Windows服务进行安装与卸载的文章,在MSDN中的http://msdn.microsoft.com/en-us/library/sd8zc8ha.aspx有介绍 :点击左下角的开始按钮,按如下顺序“开始 -Visual St... 阅读全文
posted @ 2015-07-06 04:58 Endv 阅读(1502) 评论(0) 推荐(0)
摘要:这篇文章包含当前可用的区域设置 ID (LCID) 语言代码的列表。概要这篇文章包含当前可用的区域设置 ID (LCID) 语言代码的列表。区域设置 ID (LCID): 由 Microsoft Windows 的语言 ID、 排序 ID 和保留标识特定语言的位组成的 32 位值。等英语的 LCID... 阅读全文
posted @ 2015-06-28 23:09 Endv 阅读(726) 评论(0) 推荐(0)
摘要:1 2 3 4 5 $(_GenerateProjectPriFileDependsOn); 6 BeforeGenerateProjectPriFile; 7 _GeneratePrisForPortableLibrarie... 阅读全文
posted @ 2015-06-27 19:17 Endv 阅读(372) 评论(0) 推荐(0)
摘要:1 using System.Collections.Generic; 2 using Microsoft.Build.AppxPackage; 3 using Microsoft.Build.Framework; 4 5 namespace DevExpress.Build 6 { 7 ... 阅读全文
posted @ 2015-06-27 19:12 Endv 阅读(299) 评论(0) 推荐(0)
摘要:[^\n]*ja.resx[^\n]*\n?正则表达式表示 ja.resx 所在行用ultraEdit 删除关键字所在行的下一行或是上一行,所在行保留删除 关键字所在行 的前3行:(^.*?(\r?\n|\r)){3}(.*?关键字)替换为:\3删除 关键字所在行 的后5行:(关键字.*?(\r?\... 阅读全文
posted @ 2015-06-25 23:22 Endv 阅读(363) 评论(0) 推荐(0)
摘要:1 /*------------------------------------------------------------------------- 2 ParserGen.cs -- Generation of the Recursive Descent Parser 3 Compi... 阅读全文
posted @ 2015-06-24 22:34 Endv 阅读(298) 评论(0) 推荐(0)
摘要:CocoSourcesCS 3 1 /*---------------------------------------------------------------------- 2 Compiler Generator Coco/R, 3 Copyright (c) 1990, 2004 ... 阅读全文
posted @ 2015-06-24 22:33 Endv 阅读(242) 评论(0) 推荐(0)
摘要:CocoSourcesCS 2 1 /*------------------------------------------------------------------------- 2 DFA.cs -- Generation of the Scanner Automaton 3 ... 阅读全文
posted @ 2015-06-24 22:32 Endv 阅读(241) 评论(0) 推荐(0)
摘要:CocoSourcesCS 1 1 /*------------------------------------------------------------------------- 2 Compiler Generator Coco/R, 3 Copyright (c) 1990, 20... 阅读全文
posted @ 2015-06-24 22:31 Endv 阅读(171) 评论(0) 推荐(0)
摘要:C# this.Hide()第一次用的时候是在_Load函数里:BookSystem bs = new BookSystem(); bs.ShowDialog(); this.Hide();第二次在登陆成功时:BookSystem bs = new BookSystem(); bs.userName... 阅读全文
posted @ 2015-06-23 21:03 Endv 阅读(2498) 评论(1) 推荐(0)
摘要:The Visual Studio Image LibraryVisual Studio 2013The Visual Studio Image Library contains application images that appear in Microsoft Visual Studio, M... 阅读全文
posted @ 2015-06-23 16:42 Endv 阅读(841) 评论(0) 推荐(0)