public void GetGmailContacts(string p_name, string login, string password) { RequestSettings rs = new RequestSettings(p_name, login, password); rs.AutoPaging = true; ContactsRequest cr = new ContactsRequest(rs); Feed<Contact> f = cr.GetContacts(); foreach (Contact t in f.Entries) { foreach (EMail email in t.Emails) { DataRow dr1 = dt.NewRow(); dr1["emailid"] = email.Address.ToString(); dt.Rows.Add(dr1); } } }
foreach (Contact t in f.Entries)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)