摘要:
//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一样 ... 阅读全文