I have been using the Google data provider and believe it’s the easiest way to achieve the behavior you are looking for. It’s basically a third party tool that allows to connect and access data just as you would access any traditional database. After having configured it, selecting the birthday is as simple as querying the Contacts table:
GoogleConnection connection = new GoogleConnection(connectionString);
GoogleCommand cmd = new GoogleCommand(
"SELECT Birthday FROM Contacts where Contacts.Birthday >= @date",
connection);
cmd.Parameters.Add(new GoogleParameter("date", "4/3/1997"));
GoogleDataReader gdr = cmd.ExecuteReader();
while (gdr.Read())
{
//any code
}
I’ve found this a lot easier than other methods. This is the link to their site: Google Data Provider