Abhishek Kumar Ravi

Abhishek Kumar Ravi

  • NA
  • 11.5k
  • 4.5m

Bind whole 'contact name'' and their 'email' in a List

Apr 14 2013 10:30 AM


>> when 'm calling 'chooser' -> EmailAddressChooserTask with the event.
At that instance, i have to SELECT specific person. That what i want to SKIP,
How i bind all CONTACTS in my list, except a single contact what i choose [No idea :/]

CODE:
public partial class MainPage : PhoneApplicationPage
{

// Constructor
public MainPage()
{
InitializeComponent();
EmailAddressChooserTask emailContacts = new EmailAddressChooserTask();
emailContacts.Completed+=new EventHandler<EmailResult>(emailContacts_Completed);
emailContacts.Show();
}

void emailContacts_Completed(object sender, EmailResult e)
{
// List<string> eName = new List<string>();
// List<string> eEmail = new List<string>();

textBox1.Text = e.DisplayName.ToString();
textBox2.Text = e.Email.ToString();

}

}