Hello Mudassar,
I read your "Import Contacts from Google Gmail Account in ASP.Net using C# " aretical( url: http://www.aspsnippets.com/Articles/Import-Contacts-from-Google-Gmail-Account-in-ASPNet-using-C-and-VBNet.aspx) .
Its very nice, i follow all steps as per artical, it working fine. But i face one problem, through this we get only 10 contacts. I need to fetch all contacts present in my email account. What should i do.
Please help me for this.
Thanks in Advance.
In this line pass some higher value say 999 instead of 10
string json = GoogleConnect.Fetch("me", code, 10);
For some people if email is not present you will get error and hence add a NULL check
if(contact.GdEmail.Find(p => p.Primary) != null) { string email = contact.GdEmail.Find(p => p.Primary).Address }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.