<code></code> Outlook.MAPIFolder oMailFolder = null; Outlook.Application oApp = new Outlook.Application(); Outlook.NameSpace oNS = oApp.GetNamespace("MAPI"); oMailFolder = oNS.PickFolder(); oApp = null; oNS = null
List<unreademails> list = (List<unreademails>)dgvUnreadMails.DataSource; //List<string> myUnreadMailList; List<unreademails> filteredList = (List<unreademails>)(from ci in list where ci.SenderAddress.StartsWith(senderMailAddress) select ci).ToList<unreademails>(); dgvUnreadMails.DataSource = filteredList;</unreademails></unreademails></unreademails></string></unreademails></unreademails>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)