摘要: //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",""... 阅读全文
posted @ 2017-07-04 16:12 longdb 阅读(395) 评论(0) 推荐(0) 编辑
摘要: DataTable dt = null; if (dt != null && dt.Rows.Count > 0)//不报错,因为先执行dt != null 成立时才执行dt.Rows.Count > 0 { } if (dt.Rows.Count > 0 && dt != n... 阅读全文
posted @ 2017-07-04 11:28 longdb 阅读(1859) 评论(2) 推荐(1) 编辑
摘要: string[] arraymax = new string[5]; string[] arraymin = new string[3]; string[] arraystr = new string[] {"11","22","33","44" }; arraymax = arraystr;//变成和arraystr一样 ... 阅读全文
posted @ 2017-07-04 11:20 longdb 阅读(4295) 评论(0) 推荐(0) 编辑