字符串转换日期
例如,2007-02   转换成这个月的每一天
------解决方案--------------------DateTime date = DateTime.Parse( "2007-02-1 ");//务必使这个date是1号 
 ArrayList <DateTime>  thisMonth = new ArrayList <DateTime> (); 
 for (int i=1;i <=date.AddMonths(1).AddDays(-1).Day;i++) 
 { 
 thisMonth.Add(new DateTime(date.Year,date.Month,i)); 
 }