locked
I want to display the CRM accounts page data in gridview RRS feed

  • Question


  • I need to create an account in crm using aspx web form and display the same information in grid view also.

    Friday, January 17, 2014 6:40 AM

Answers

  • Hi

    Check the below links.

    http://ahmedelnoby.blogspot.in/2011/07/using-crm-2011-service-to-create-record.html

    http://damucrm.blogspot.in/2012/12/retrieve-data-from-crm-2011-and-show-in.html

    Hope this helps

    • Marked as answer by Amy.4 Friday, January 17, 2014 10:27 AM
    Friday, January 17, 2014 7:32 AM
  • Hi,

    -> First You create one aspx page in the dotnet

    -> Establish a Connection with ADO.NET like we are doing  the curd operations in the Dotnet.

    ->Bind the table to the grid view

    You must write the code as below

    1. Establish a Connection with  the following parameters- datasource, userid, password and intial catalog

    2. Pass the query into the  dataadapter

    3. create an object for the dataset

    4.fill the dataset into the table

    5. Assign the dataset value into the gridview.

    6.Bind the data to the gridview.

    • Marked as answer by Amy.4 Friday, January 17, 2014 10:27 AM
    Friday, January 17, 2014 9:43 AM

All replies

  • Hi

    Check the below links.

    http://ahmedelnoby.blogspot.in/2011/07/using-crm-2011-service-to-create-record.html

    http://damucrm.blogspot.in/2012/12/retrieve-data-from-crm-2011-and-show-in.html

    Hope this helps

    • Marked as answer by Amy.4 Friday, January 17, 2014 10:27 AM
    Friday, January 17, 2014 7:32 AM
  • Hi,

    -> First You create one aspx page in the dotnet

    -> Establish a Connection with ADO.NET like we are doing  the curd operations in the Dotnet.

    ->Bind the table to the grid view

    You must write the code as below

    1. Establish a Connection with  the following parameters- datasource, userid, password and intial catalog

    2. Pass the query into the  dataadapter

    3. create an object for the dataset

    4.fill the dataset into the table

    5. Assign the dataset value into the gridview.

    6.Bind the data to the gridview.

    • Marked as answer by Amy.4 Friday, January 17, 2014 10:27 AM
    Friday, January 17, 2014 9:43 AM