Hi Krunal,
Thanks alot for the code and sorry I haven't replied earlier. Now I have tried your code using an button handler.
Such as this:
protected void sendButton_click(object sender, EventArgs e)
{
if (inviteesName.Accounts.Count > 0)
{
for (int i = 0; i < inviteesName.Entities.Count; i++)
{
ArrayList aAccount = new ArrayList();
aAccount = inviteesName.Accounts;
PickerEntity pickEn = (PickerEntity)inviteesName.Entities[i];
Hashtable hstEntityData = pickEn.EntityData;
//strEmail = strEmail + "," + Convert.ToString(hstEntityData["Email"]);
strEmail = strEmail + Convert.ToString(hstEntityData["Email"]);
String[] emailAddress = strEmail.Split(";");
foreach (string email in emailAddress)
{
messages.Text+=email;
}
}
}
}Now I used the above with two account inserted in the people and when I click on the button duplicates values are displayed in the browser.
Also, aAccount variable was initialized but never used why?