<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:blog="http://dnn-connect.org/blog/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Blog - Console Application</title>
    <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/term/2652/locale/en-US/Blog-Console-Application</link>
    <description />
    <managingEditor>sales@xrmlabs.com</managingEditor>
    <pubDate>Fri, 01 May 2026 15:54:40 GMT</pubDate>
    <lastBuildDate>Fri, 01 May 2026 15:54:40 GMT</lastBuildDate>
    <category>Console Application</category>
    <generator>DotNetNuke Blog RSS Generator Version 6.5.2.0</generator>
    <ttl>30</ttl>
    <atom:link href="https://www.xrmlabs.com/DesktopModules/Blog/API/RSS/Get?moduleid=440&amp;tabid=94&amp;term=2652" rel="self" type="application/rss+xml" />
    <item>
      <title>Creating a Console Application in C# to Merge Contacts in CRM and Export a CSV of the Merged Records</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8534/Creating-a-Console-Application-in-C-to-Merge-Contacts-in-CRM-and-Export-a-CSV-of-the-Merged-Records</link>
      <description>&lt;p&gt;In this detailed guide, we will create a C# console application to connect to a Dynamics 365 CRM instance, identify duplicate contact records based on specific criteria, merge them into a single record, and export the merged records to a CSV file. We will also log any errors that occur during this process.&lt;/p&gt;
</description>
      <category>.CSV EXPORT</category>
      <category>Console Application</category>
      <category>Contacts Merging</category>
      <category>Crm Service Client</category>
      <category>Dynamics 365</category>
      <category>MS CRM</category>
      <category>Dynamics CRM</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8534/Creating-a-Console-Application-in-C-to-Merge-Contacts-in-CRM-and-Export-a-CSV-of-the-Merged-Records</guid>
      <pubDate>Mon, 09 Oct 2023 08:50:00 GMT</pubDate>
      <blog:publishedon>2023-10-09 08:50:00Z</blog:publishedon>
    </item>
    <item>
      <title>Retrieve Data from Excel File Using C#</title>
      <link>https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8531/Retrieve-Data-from-Excel-File-Using-C</link>
      <description>&lt;p style="text-align:justify"&gt;We can retrieve the data from the Excel file using two ways:&lt;/p&gt;

&lt;p style="text-align:justify"&gt;1. OLeDb Connection&lt;/p&gt;

&lt;p style="text-align:justify"&gt;2. Interop Library&lt;/p&gt;

&lt;p style="text-align:justify"&gt;Here we are going to use Interop Library.&lt;/p&gt;

&lt;p style="text-align:justify"&gt;We have a list of contacts in an Excel file named (Contacts.xlsx) with their Record ID, the scenario here is to retrieve the ID from Excel then use the ID to fetch the record from CRM and update the Contacts field &amp;ldquo;AE Assigned&amp;rdquo; to yes.&lt;/p&gt;
</description>
      <category>Console Application</category>
      <category>D365</category>
      <category>Interop</category>
      <category>Retrieve Row from Excel</category>
      <guid isPermaLink="true">https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/8531/Retrieve-Data-from-Excel-File-Using-C</guid>
      <pubDate>Fri, 15 Sep 2023 19:20:00 GMT</pubDate>
      <blog:publishedon>2023-09-15 19:20:00Z</blog:publishedon>
    </item>
  </channel>
</rss>