会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bert.zeng
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
11
下一页
2014年9月29日
ConfigrationSection配置应用示例
摘要: OrderElement.cs: 1 using System; 2 using System.Collections.Generic; 3 using System.Configuration; 4 using System.Linq; 5 using System.Text; 6 7 name...
阅读全文
posted @ 2014-09-29 14:37 bert.zeng
阅读(150)
评论(1)
推荐(0)
2014年7月29日
判断当前系统用户组是否为超级管理员。.
摘要: private bool IsCurrentlyRunningAsAdmin(){bool isAdmin = false;WindowsIdentity currentIdentity = WindowsIdentity.GetCurrent();if (currentIdentity != nu...
阅读全文
posted @ 2014-07-29 14:28 bert.zeng
阅读(1388)
评论(0)
推荐(0)
2014年7月22日
检测msmq里消息的数量
摘要: 1 using System.Diagnostics;2 3 PerformanceCounter objCounter = new PerformanceCounter("MSMQ Queue", "Messages in Queue", @"mymachine\private$\MyQueue...
阅读全文
posted @ 2014-07-22 09:40 bert.zeng
阅读(132)
评论(0)
推荐(0)
2014年7月15日
引用Microsoft.Practices.Unity.InterceptionExtension,AOP面向方面编写
摘要: 1.定义 1 using System; 2 using Microsoft.Practices.Unity; 3 using Microsoft.Practices.Unity.InterceptionExtension; 4 5 namespace InteceptionExtension 6...
阅读全文
posted @ 2014-07-15 10:09 bert.zeng
阅读(429)
评论(0)
推荐(0)
2014年4月24日
assign,copy,retain -Object-C中纠结的属性(转)
摘要: 先看assign 的情况,因为只是默认的方式@property(nonatomic,assign)NSString*name;那么编译器会生成,相应的get,set方法,类似如下:- (NSString*) name{returnname;}- (void)setName:(NSString*)th...
阅读全文
posted @ 2014-04-24 18:35 bert.zeng
阅读(213)
评论(0)
推荐(0)
2014年4月22日
部门表递归查询
摘要: GOSET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO--------------------------------------------------------------------------- 摘 要: 当前代理商所有ID关联信息(返回:ID...
阅读全文
posted @ 2014-04-22 18:36 bert.zeng
阅读(476)
评论(0)
推荐(0)
sql server 搜存储过程关键字.
摘要: create PROCEDURE [dbo].[_searchSP] @keywords nvarchar(100) AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfer...
阅读全文
posted @ 2014-04-22 18:21 bert.zeng
阅读(187)
评论(0)
推荐(0)
2014年1月27日
VS2010-使用“预先生成事件命令行”和“后期生成事件命令行”功能(转)
摘要: xcopy /r /y $(TargetPath) $(ProjectDir)..\Bin\xcopy /r /y $(TargetDir)$(TargetName).pdb $(ProjectDir)..\Bin\xcopy /r /y $(TargetPath) $(ProjectDir)..\Release\xcopy /r /y $(TargetDir)$(TargetName).pdb $(ProjectDir)..\Release\xcopy /r /y $(ProjectDir)Resource\zh-CN\NeoNetech.LiveFP.V2.resources.dll $(
阅读全文
posted @ 2014-01-27 07:32 bert.zeng
阅读(350)
评论(0)
推荐(0)
2014年1月14日
C# DescriptionAttribute 取值
摘要: public static class Extensions { public static string GetDescription(this object obj, string name) { var referencedType = obj.GetType(); return GetDescription(referencedType, name); } public static string GetDescription(Type refe...
阅读全文
posted @ 2014-01-14 04:09 bert.zeng
阅读(2761)
评论(1)
推荐(0)
2014年1月10日
PowerDesigner OOM 生成C#预览代码包含注释.
该文被密码保护。
阅读全文
posted @ 2014-01-10 11:30 bert.zeng
阅读(0)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
11
下一页
公告