用一个for循环就可以解决:
int year_Begin = Convert.ToInt32(this.dateBegin.Value.ToString("yyyy"));
int month_Begin = Convert.ToInt32(this.dateBegin.Value.ToString("MM"));
int day_Begin = Convert.ToInt32(this.dateBegin.Value.ToString("dd"));
int year_End = Convert.ToInt32(this.dateEnd.Value.ToString("yyyy"));
int month_End = Convert.ToInt32(this.dateEnd.Value.ToString("MM"));
int day_End = Convert.ToInt32(this.dateEnd.Value.ToString("dd"));
for (DateTime dt = new DateTime(year_Begin, month_Begin, day_Begin); dt < new DateTime(year_End, month_End, day_End); dt = dt.AddDays(1))
{
MessageBox.Show(dt.ToString("MM-dd"));
}