New Additions
Here Mudassar Ahmed Khan has explained with an example, how to Import (Insert) Excel file data into Database using SqlBulkCopy in ASP.Net MVC Razor.

The uploaded Excel file data will be read using OLEDB library and the read data will be inserted into SQL Server database using SqlBulkCopy.

SqlBulkCopy class as the name suggests does bulk insert from one source to another and hence all rows from the Excel sheet can be easily read and inserted using the SqlBulkCopy class.
Here Mudassar Ahmed Khan has explained with an example, how to upload, read and display CSV file (Text File) data in ASP.Net GridView using C# and VB.Net.
CSV file is a Text file which contains Comma Separated (Comma Delimited) values. The data from a CSV file will be read and then after separating the values, a DataTable will be created which will be used to populate the ASP.Net GridView control.
Here Mudassar Ahmed Khan has explained with an example, how to upload, read and display CSV file (Text File) data in ASP.Net MVC Razor.
CSV file is a Text file which contains Comma Separated (Comma Delimited) values. The data from a CSV file will be read and then after separating the values, the data will be populated in HTML Table (Grid) format.
Here Mudassar Ahmed Khan has explained with an example, how to upload, read and display Excel file data using OLEDB in ASP.Net MVC Razor.
The uploaded Excel file data will be read using OLEDB library and the read data will be displayed in View in HTML Table (Grid) format.
Here Mudassar Ahmed Khan has explained with an example, how to get ID of last inserted record using Entity Framework in ASP.Net MVC Razor.

When the Form is submitted, the value of the submitted Form fields will be fetched using Entity Framework Model class object and will be inserted into database using Entity Framework. After successful insert, the ID of the last inserted record fetched using SCOPE_IDENTITY will be displayed using JavaScript Alert Message Box.

Entity Framework by default internally uses SCOPE_IDENTITY for fetching ID of the last inserted record.
Here Mudassar Ahmed Khan has explained with an example, how to use Rich Text Editor (WYSIWYG Editor) in ASP.Net MVC 5 Razor.
Rich Text Editor (WYSIWYG Editor) in ASP.Net MVC 5 Razor will be implemented using TinyMCE RichTextBox (RichTextEditor) which is a JavaScript plugin and is applied to the HTML TextArea element.
This article will also illustrate how to validate contents of Rich Text Editor (WYSIWYG Editor) using Data Annotations in ASP.Net MVC 5 Razor.
Here Mudassar Ahmed Khan has explained with an example, how to use the Google Translation (Translate) API in ASP.Net using C# and VB.Net.
Google Translation (Translate) API can be accessed using HTTP GET method and it returns the translated content in JSON format.
Here Mudassar Ahmed Khan has explained with an example, how to use the Google Translation (Translate) API in JavaScript and jQuery.
Google Translation (Translate) API can be accessed using HTTP GET method and it returns the translated content in JSON format.
Here Mudassar Ahmed Khan has explained with an example, how to create Charts from Database using Charts Helper class in ASP.Net MVC Razor.
This article will illustrate how to create Pie Charts from Database using Charts Helper class in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to use Chart control to create Charts from Database using Charts Helper class in ASP.Net MVC Razor.
This article will illustrate how to create Pie Charts from Database using Charts Helper class in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to implement Microsoft Charts from Database using Charts Helper class in ASP.Net MVC Razor.
This article will illustrate how to create Pie Charts from Database using Charts Helper class in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to get started with your first application using Razor View Engine in ASP.Net MVC 5.

This article will provide step by step guide to create a simple yet educational program which helps you create your first application using Razor View Engine in ASP.Net MVC 5.
Here Mudassar Ahmed Khan has explained with an example, how to call Controller’s Action method from View using JavaScript in ASP.Net MVC Razor.

The Controller’s Action method will be called from View with the help of Ajax.BeginForm extension method which allows to call Controller’s Action method using JavaScript in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained a simple tutorial with example on how to use Ajax.BeginForm extension method in ASP.Net MVC Razor.

The Ajax.BeginForm extension method is used to make AJAX calls to Controller’s Action method in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained a simple tutorial with example on how to use Html.BeginForm extension method in ASP.Net MVC Razor.
The Html.BeginForm extension method is used to generate an HTML Form Tag in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to take Screenshot (Snapshot) Google Maps to Image using Google Maps API V3.

Google Maps API V3 provides Static Maps API to take Screenshot (Snapshot) Google Maps to Image.
Here Mudassar Ahmed Khan has explained with an example, how to display XML file with Formatting in HTML page using JavaScript and jQuery.

The XML file will be selected using FileUpload element and its content will be read using HTML5 FileReader and finally the formatted XML file will be displayed using HTML TextArea element.
03 Mar 2017 0 Comments  815 Views
ASP.Net  AJAX  jQuery  XML  MVC
Here Mudassar Ahmed Khan has explained with an example, how to return XML file from Action method of Controller to View in ASP.Net MVC Razor.
ContentResult return type is used for returning XML file as XML string from Controller to View in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to read, parse and display a XML file selected in FileUpload control (HTML File Input) on client side using JavaScript, jQuery and HTML5.

HTML5 allows developers to access the contents of XML files and details using JavaScript and jQuery and hence in browsers that support HTML5 one can easily read the XML file contents.
Here Mudassar Ahmed Khan has explained with an example, how to read and display XML data in View in ASP.Net MVC Razor.
The XML data will be read from an XML file and the fetched XML records will be displayed in Grid (HTML Table) format in View using Model class in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to display (show) DataSets and DataTables in Grid format in View in ASP.Net MVC Razor.

Though it is not a good practice to use DataSets and DataTables as Model in MVC architecture, hence user’s please make a note that this is just an informative article and does not recommend to use DataSets and DataTables in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to use DataSets and DataTables in ASP.Net MVC Razor.

Though it is not a good practice to use DataSets and DataTables as Model in MVC architecture, hence user’s please make a note that this is just an informative article and does not recommend to use DataSets and DataTables in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) DataSet or DataTable from Controller to View in ASP.Net MVC Razor.

Though it is not a good practice to use DataSet or DataTable as Model and pass DataSet or DataTable from Controller to View in MVC architecture, hence user’s please make a note that this is just an informative article and does not recommend to pass (send) DataSet or DataTable from Controller to View in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to perform Entity Framework CRUD operation (Create, Read, Update and Delete) in ASP.Net MVC Razor using jQuery AJAX.

CRUD operation in simple terms means Select, Insert, Edit, Update and Delete operations.

Entity Framework will be used to perform CRUD operation i.e. Select, Insert, Edit, Update and Delete operations in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to perform CRUD operation (Create, Read, Update and Delete) in ASP.Net MVC Razor using jQuery AJAX.
CRUD operation in simple terms means Select, Insert, Edit, Update and Delete operations.
Entity Framework will be used to perform CRUD operation i.e. Select, Insert, Edit, Update and Delete operations in ASP.Net MVC Razor.