Showing posts with label JQuery. Show all posts
Showing posts with label JQuery. Show all posts

Saturday, 29 September 2018

Display uploaded file content from Database in MVC


In this article I would like to know you about display file content from  Database to the  in iframe. To create the database I used Code First approach using Entityframework in MVC application.
For that, Take an empty MVC application and add a class named Database and implement the interface DbContext as below :

Wednesday, 26 September 2018

Display File Content From Selected file in IFrame in MVC using JQuery


            In this article I would like to know you about displaying the choosen file content from  file selected from choosen input control to show in iframe. For this take a controller named ‘FileContentController’ and add a view to the ‘index’ action method, as the code shown below :

Saturday, 22 September 2018

Display uploaded file data in IFrame in AngularJS and JQuery


            In this article I would like to know you about displaying uploaded file data content from  file upload input control to show in iframe. For this take a html file and js file, html is for designing of view and js is to write the angularjs code, to use the angularjs add the angularjs files. The below code shows the implementation of how to display the uploaded file in angularjs and  jquery.