hi in my application i am providing importing gmail contacts...i want to provide gmail inbox ..how to get gmail in box unread mails in our website..plz help me
hi i got this code from some website...in that it is aasigning to xml file..i want to assign to gridview plz change code for assigning to gridview..while iam assigning datareader iam getting problem..
my code is:
---------------
protected void Page_Load(object sender, EventArgs e)
{
//just 2 steps to get your Gmail Atom
//1- Create the object from GmailHandler class
GmailHandler gmailFeed = new GmailHandler("WriteHereYourGmailUs", "WriteHereYourGmailPassword(ex: XXX)");
//2-get the feed :) ,Congratulations
XmlDocument myXml = gmailFeed.GetGmailAtom();
//this part of code is not necessary
//this part should custom according to your
//business needs
XmlElement root = myXml.DocumentElement;
XmlNodeList xmlnode = myXml.GetElementsByTagName("entry");
for (int i = 0; i < xmlnode.Count; i++)
{
Response.Write(xmlnode[i].FirstChild.Name);
Response.Write(":\t" + xmlnode[i].FirstChild.InnerText + " \n");
Response.Write(xmlnode[i].LastChild.Name);
Response.Write(":\t" + xmlnode[i].LastChild.InnerText + " \n");
Response.Write("\r\n\r\n");
}
}
plz help me
Regards,
Bhanu Prakash Bysani