08 2021 档案
摘要:方法一:Convert.ToDateTime(string) string格式有要求,必须是yyyy-MM-dd hh:mm:ss 方法二:Convert.ToDateTime(string, IFormatProvider) DateTime dt; DateTimeFormatInfo dtFo
阅读全文
摘要:一、简单的树形数据 -- with一个临时表(括号中是你要查询的列名) with temp(ID,PID,Name,curLevel) as ( --1:初始查询(这里的PID=-1 在我的数据中是最底层的根节点) select ID,PID,Name,1 as level from dbo.T_A
阅读全文

浙公网安备 33010602011771号