windows phone 7 programming

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi
I am trying to save multiple contacts in addressbook of windows phone 7 ,i am using savecontacttask class below is snippet of code:But i m not able to insert multiple contacts.
try
{
SaveContactTask= new SaveContactTask();
SaveContactTask.Completed+=new EventHandler<SaveContactResult>(SaveContactTask_Completed);
SaveContactTask.FirstName="jiya";
SaveContactTask.LastName="sinha";
SaveContactTask.MobilePhone="9989897978";

SaveContactTask1= new SaveContactTask();
SaveContactTask1.Completed+=new EventHandler<SaveContactResult>(SaveContactTask_Completed);
SaveContactTask1.FirstName="Rish";
SaveContactTask1.LastName="chopra";
SaveContactTask1.MobilePhone="9989897978";
}
catch{
}


View the full article
 
Back
Top