Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

fetching data from crm in asp.net grid view

Posted on by 20

Hello,

I'm creating one ASP.Net webform. If I enter the crm contact Email id & click on "Fetch" button , need to fetch the Case data from dynamics CRM in Asp.Net Grid view as shown below & also the 'contact name' with entered Email id.

Please guide how can i connect my .net web application with Crm as per above requirement.

Thank You!!

30846.Capture.PNG

*This post is locked for comments

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: fetching data from crm in asp.net grid view

    Hello,

    The best option to use FetchXML is design your query in AdvancedFind , you can check this for your reference:

    CaseFetch.png

    Further you can use convert FetchXML to QueryExpression check this link for your reference: docs.microsoft.com/.../sample-convert-queries-fetch-queryexpression

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
  • Tanvi Profile Picture
    Tanvi 20 on at
    RE: fetching data from crm in asp.net grid view

    Hi Mahadeo,

    I don't have much experience in crm. Can you please explain a bit more?

    how to use fetchxml to get case info through contact email id?

    Thank You!

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: fetching data from crm in asp.net grid view

    In addition to above suggestions you can also refer: www.c-sharpcorner.com/.../dynamic-crm-operations-with-your-Asp-Net-applications

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: fetching data from crm in asp.net grid view

    Hi,

    Refer these links-

    community.dynamics.com/.../connecting-asp-net-mvc-application-to-dynamic-crm

    www.youtube.com/watch

    Hope this helps.

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: fetching data from crm in asp.net grid view

    hi,

    you can use dynamics 365 api to connect to crm from website.

    you can add coonetion string in web.config to connect to CRM

    docs.microsoft.com/.../use-connection-strings-xrm-tooling-connect

    and then use api to get data using fetchxml.

    hope this will help..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans