Dim Birth As DateDim BirthPl As IntegerFor Each dr As DataRow In DataTables("客户信息").DataRows Birth = dr("出生日期")If (birth.Month=Date.Today.Month) If (birth.Day=Date.Today.AddDays(1).Day)BirthPl=BirthPl +1
End IfEnd IfNext
MessageBox.Show("生日"+str(BirthPl)+"人")