你用的是什么数据库?
cmd0.CommandText = "SELECT DISTINCT Year(获取日期) + '年' As 年, Month(获取日期) + '月' As 月, 项目编号 F rom {项目信息主表}"