Results 1 - 5 of 24
15 Jul 2019 15 Jul 2019 0 Comments  5062 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert List of Objects to CSV file using C# in ASP.Net MVC Razor.

When the Export Button is clicked, the data from Database is fetched using Entity Framework as List of Objects.

Then using a FOR Loop, the data is converted into a Comma Separated (Delimited) string which is later exported and downloaded as CSV file in ASP.Net MVC Razor.
18 Apr 2019 19 Apr 2019 0 Comments  1082 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Array from Controller to View using ViewBag in ASP.Net MVC Razor.

The List Collection will be populated from Database using ADO.Net inside the Controller and it will be converted to Array and passed to the View using ViewBag.

Later in View, the Array will be iterated and the data will be displayed with the help of HTML Table in ASP.Net MVC Razor.
27 Feb 2019 27 Feb 2019 0 Comments  1334 Views
HTML  JSON  Table  AngularJS  Arrays  Image
Here Mudassar Ahmed Khan has explained with an example, how to display Images inside ng-repeat directive in AngularJS.

The ng-src directive is used along with Image elements in order to display Images from Model in AngularJS.

The Image will be stored in a Folder (Directory) on the Server and will be displayed by assigning the Path (URL) of the Image to the ng-src directive in AngularJS.
27 Feb 2019 27 Feb 2019 0 Comments  827 Views
HTML  JSON  Table  AngularJS  Arrays  Image
Here Mudassar Ahmed Khan has explained with an example, how to get (pull) Image from JSON in AngularJS.

The Image will be stored in a Folder (Directory) on the Server and will be displayed by pulling the Path (URL) of the Image from the JSON and assigning it to the ng-src directive in AngularJS.
26 Feb 2019 26 Feb 2019 0 Comments  1880 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Images from JSON Array using JavaScript.

This article will illustrate how to display Images in a dynamic HTML Table generated by looping through the JSON Array using JavaScript.

The Images will be stored in a Folder (Directory) on the Server and will be displayed in an HTML Image element using JavaScript.
Results 1 - 5 of 24