Results 16 - 20 of 67
14 Sep 2018 14 Sep 2018 1 Comments  5604 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert Excel (XLS and XLSX) file data to JSON using JavaScript.

Once File is selected in FileUpload control, it is read as Binary data and then the Binary data is read using the xlsx Excel plugin which returns the Excel file data in JSON array format.

Finally, JSON array is displayed as HTML Table using JavaScript.
12 Sep 2018 14 Sep 2018 0 Comments  3498 Views
Here Mudassar Ahmed Khan has explained with an example, how to read CSV File using AngularJS and HTML5 File API.

The CSV file (Comma separated Text file) will be selected in HTML FileUpload element and will be read using HTML5 FileReader API.

The read data will be parsed into a JSON Array which will be later used to populate a HTML Table using ng-repeat directive in AngularJS.
07 Sep 2018 07 Sep 2018 1 Comments  2782 Views
Here Mudassar Ahmed Khan has explained with an example, how to read the CSV File and convert its data to JSON Array in jQuery using HTML5 File API.

The CSV file (Comma separated Text file) will be selected in HTML5 FileUpload element and will be read using HTML5 FileReader API.

The read data is split into Rows and a loop is executed over the Rows and the data from each Row is stored into a JSON object and it is added to an Array using jQuery.
28 Aug 2018 28 Aug 2018 0 Comments  4590 Views
Here Mudassar Ahmed Khan has explained with an example, how to read response from Web API using HttpClient in C#.

The Web API 2 Controller method will fetch records from database using Entity Framework in ASP.Net MVC.

The Web API 2 Controller method will be called using HttpClient class along with parameters in Console Application using C#.
28 Aug 2018 28 Aug 2018 0 Comments  3685 Views
Here Mudassar Ahmed Khan has explained with an example, how to fetch (retrieve) data from Database using AngularJS in ASP.Net MVC Razor.

The data from the database will be fetched using Entity Framework inside a Web API Controller.

The Web API Controller will be called from AngularJS using $http service and the retrieved database records will be displayed in Table (Grid) format.
Results 16 - 20 of 67