Posts

Showing posts from May, 2016

How to fetch data from Microsoft Dynamics CRM OnPremise and show them on Gridview with Search, Select, Paging and Sorting feature in Asp.Net, C#

Image
In this blog I am going to show how we can fetch data from Dynamics CRM OnPremise and Show them in a gridview on Web Page. Not only this but also following points: Selecting value of row by clicking anywhere on a row. Searching data in Gridview. Sorting of data in Gridview. Paging in Gridview. First of all take a Textbox for serach box and Gridview on your web page and place below code:: <form id="form1" runat="server">        <script type="text/javascript">        function RefreshParent(row) {          if (window.opener != null && !window.opener.closed) {              var message = "";              message += "Id: " + $("td", row).eq(0).html();              message += "\nName: " + $("td", row).eq(1).html();              alert(message);            window.opener.location.reload();          }        }        window.onbeforeunload = RefreshParent;      </script>
go to top image