07 2017 档案
摘要:namespace StrategyPattern //策略模式 { /// /// 定义所以支持的算法的公共接口 /// abstract class Strategy { /// /// 算法方法。 /// public abstract void Algorithm...
阅读全文
摘要:--多条记录插入,用逗号分开值。 INSERT dbo.studentinfor ( id, name, class, age, hpsw ) VALUES ( N'3', -- id - nvarchar(50) N'test3', -- name - nvarchar(50) N'3', -- class - nvarchar(50)...
阅读全文
摘要:1 namespace MonitorService 2 { 3 public partial class MonitorSv : ServiceBase 4 { 5 string AppName = "",MusicName = ""; 6 string apppath = ""; 7 Threa
阅读全文
摘要:1:路径:C:\Windows\Microsoft.NET\Framework\v4.0.30319 2:执行指令:C:\Windows\Microsoft.NET\Framework\v4.0.30319>installutil E:\MonitorService\MonitorService\M
阅读全文
摘要://BackGroundColor表达式中填写:=IIf((Month(Now()) - Month("2017/7/1") = 0) AND ((Day(Now()) - Day("2017/7/1") >= -3) AND (Day(Now()) - Day("2017/7/1") 0)) OR (Month(Now()) - Month("2017/7/7") > 0),"Red",""...
阅读全文
摘要:DataTable dt = null; if (dt != null && dt.Rows.Count > 0)//不报错,因为先执行dt != null 成立时才执行dt.Rows.Count > 0 { } if (dt.Rows.Count > 0 && dt != n...
阅读全文
摘要:string[] arraymax = new string[5]; string[] arraymin = new string[3]; string[] arraystr = new string[] {"11","22","33","44" }; arraymax = arraystr;//变成和arraystr一样 ...
阅读全文
摘要:--len(string exepress)select yunlen,* from dbo.ctm where LEN(yunlen)=0
阅读全文

浙公网安备 33010602011771号