Category - XML
Results 1 - 20 of 39
14 Jan 2022 14 Jan 2022 0 Comments  4342 Views
ASP.Net  XML  HTML  Table  MVC  Grid  Core  .Net
Here Mudassar Khan has explained with an example, how to display XML file data in .Net Core.

This article will make use of ASP.Net MVC Core for illustrating how to read XML file data and then display it in Grid (HTML Table) format in .Net Core.
07 Jan 2022 07 Jan 2022 0 Comments  9400 Views
ASP.Net  XML  MVC  Model  Core
Here Mudassar Khan has explained with an example, how to read (parse) XML file in ASP.Net Core MVC.

The XML file will be read and the fetched XML records will be parsed and displayed in Grid (HTML Table) format in View using Model in ASP.Net Core MVC.
04 Jan 2022 04 Jan 2022 0 Comments  4413 Views
ASP.Net  XML  MVC
Here Mudassar Khan has explained with an example, how to display Formatted XML in Browser in ASP.Net MVC Razor.

The XML file will be read as string and then its contents will be written to the Response as XML which will ultimately display the Formatted XML in Browser in ASP.Net MVC Razor.
04 Jan 2022 04 Jan 2022 0 Comments  2324 Views
ASP.Net  XML  MVC  WebGrid
Here Mudassar Khan has explained with an example, how to read and display XML file data in WebGrid in ASP.Net MVC Razor.

The XML data will be read from an XML file and the fetched XML records will be displayed in WebGrid using Model class in ASP.Net MVC Razor.
18 Sep 2020 18 Sep 2020 0 Comments  15967 Views
Here Mudassar Ahmed Khan has explained with an example, how to select all Nodes (Elements) in XML without specifying (particular) Node Name (Tag Name) using XPath Query (Expression) with C# and VB.Net.

The XML file will be loaded into an XmlDocument and then using XPath Query (Expression), all the Nodes (Elements) in the XML will be selected.
07 Mar 2019 07 Mar 2019 0 Comments  14906 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) ListView using jQuery AJAX in ASP.Net with C# and VB.Net.

This article will illustrate how to populate ASP.Net ListView control from SQL Server Database on Client Side by calling WebMethod using jQuery AJAX in ASP.Net with C# and VB.Net.
04 Jun 2018 04 Jun 2018 0 Comments  20353 Views
Here Mudassar Ahmed Khan has explained with an example, how to read, parse and import XML file in Windows Forms DataGridView using C# and VB.Net.

The XML file will be read and parsed using a DataSet and all the records from the XML file will be imported into a DataTable within the DataSet.

Finally the DataSet will be used to populate and display the data from XML file in Windows Forms DataGridView.
21 May 2018 21 May 2018 0 Comments  44822 Views
Here Mudassar Ahmed Khan has explained with an example, how to read, parse and insert XML File data to SQL Server Table using Stored Procedure.

SQL Server 2005 and above versions, allow to read and parse and XML file using the XML data type and it also provide functions to parse the XML and extract its Attribute and Tag values.
21 May 2018 21 May 2018 2 Comments  26615 Views
Here Mudassar Ahmed Khan has explained with an example, how to read, parse and insert XML String data to SQL Server Table using Stored Procedure.

SQL Server 2005 and above versions, allow to pass a parameter of XML data type to the Stored Procedure and provide functions to parse the XML and extract its Attribute and Tag values.
07 Nov 2017 07 Nov 2017 0 Comments  7826 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically populate DropDownList i.e. HTML Select element on Button click from XML using jQuery.

The XML will be read and parsed and then one by one the Node data from the XML data will be added as Items (Options) to DropDownList using jQuery.
06 Nov 2017 06 Nov 2017 0 Comments  15633 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically populate DropDownList i.e. HTML Select element on Button click from XML using JavaScript.

The XML will be read and parsed and then one by one the Node data from the XML data will be added as Items (Options) to DropDownList using plain JavaScript.
03 Nov 2017 03 Nov 2017 0 Comments  22281 Views
Here Mudassar Ahmed Khan has explained with an example, how to read and parse XML string using plain JavaScript.

This article will also explain how to parse XML to read the Node values by accessing the Nodes by Index and also by the Tag name using JavaScript.
23 Oct 2017 23 Oct 2017 0 Comments  14451 Views
Here Mudassar Ahmed Khan has explained with an example, how to read and display XML file from Embedded Resources in Windows Application (Windows Forms Application) using C# and VB.Net.

The XML file will be displayed in structured format using a Multiline TextBox control in Windows Application (Windows Forms Application) using C# and VB.Net.
25 Jul 2017 25 Jul 2017 0 Comments  35223 Views
C#.Net  VB.Net  XML
Here Mudassar Ahmed Khan has explained with an example, how to select all Nodes (Elements) with specified (particular) Attribute value using XPath Query (Expression) in C# and VB.Net.

The XML file will be loaded into an XmlDocument and then using XPath Query (Expression), all the Nodes (Elements) with specified (particular) Attribute value will be selected.
25 Jul 2017 25 Jul 2017 0 Comments  19492 Views
C#.Net  VB.Net  XML
Here Mudassar Ahmed Khan has explained with an example, how to select all Nodes (Elements) with specified (particular) Name using XPath Query (Expression) in C# and VB.Net.

The XML file will be loaded into an XmlDocument and then using XPath Query (Expression), all the Nodes (Elements) with specified (particular) Name will be selected.
25 Jul 2017 25 Jul 2017 0 Comments  28334 Views
C#.Net  VB.Net  XML
Here Mudassar Ahmed Khan has explained with an example, how to read (parse) XML using XPath Query (Expression) in C# and VB.Net.

This article will explain how to use XPath to read (parse) XML and select XML nodes by Name and Attribute value using XPath Query (Expression) in C# and VB.Net.
03 Mar 2017 03 Mar 2017 2 Comments  45098 Views
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 03 Mar 2017 0 Comments  28914 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.
02 Mar 2017 02 Mar 2017 1 Comments  30872 Views
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.
28 Feb 2017 28 Feb 2017 3 Comments  63153 Views
ASP.Net  XML  MVC
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.
Results 1 - 20 of 39