Questions tagged [xmldatasource]

The XmlDataSource control is a data source control that presents XML data to data-bound controls.

The XmlDataSource control can be used by data-bound controls to display both hierarchical and tabular data. The XmlDataSource control is typically used to display hierarchical XML data in read-only scenarios. Because the XmlDataSource control extends the HierarchicalDataSourceControl class, it works with hierarchical data. The XmlDataSource control also implements the IDataSource interface and works with tabular, or list-style, data.

System.Object   
  System.Web.UI.Control  
    System.Web.UI.HierarchicalDataSourceControl  
      System.Web.UI.WebControls.XmlDataSource   
Namespace:  System.Web.UI.WebControls    
Assembly:  System.Web (in System.Web.dll)  

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.xmldatasource(v=vs.110).aspx

97 questions
2
votes
1 answer

BIRT - Passing Report URL parameters to DataSource URL

I have two servers - one for application(Apache http) and another for BIRT reporting (tomcat). I will have BIRT reports designed with XML Schema files, wherein Datasource URL will be given as http://localhost/myApp/index.php Now, the actual URL to…
ss_mj
  • 167
  • 1
  • 15
2
votes
1 answer

Why doesn't my TreeView update?

I'm using an ASP.NET TreeView on a page with a custom XmlDataSource. When the user clicks on a node of the tree, a DetailsView pops up and edits a bunch of things about the underlying object. All this works properly, and the underlying object gets…
Brendan
  • 21
  • 3
2
votes
1 answer

Bind XML to Controls

I want to bind a xml external file to a TreeView, but I want to use the same XMLDataSource to fill other controls. So first I want to know what's the best way to do that. Because I think that I will limit the datasource in case of applying a XPath…
Diogo Bento
  • 197
  • 2
  • 13
2
votes
1 answer

How to calculate the average from XMLDataProvider-data defined in XAML

I'm really new in WPF and I need your help. I've app which allows user check continent and view containing countries. Country has two propetries: name and area. The problem is that I need to show average area of all continent's countries. My data…
aparesidam
  • 309
  • 2
  • 13
2
votes
4 answers

Load XML Data (Key/Value Pairs) into Data Structure

I have an XML Data Source which contains a list of key/value pairs. I'm looking for a simple way to load the same data into an array or some other data structure so that I can easily look up the data. I can bind it to a GridView with a couple of…
macleojw
  • 4,113
  • 10
  • 43
  • 63
2
votes
1 answer

Best way to sort Gridview using xmldatasource?

I first tried using xmldatasource and found out that you can't sort it. If you try you will just receive error: "System.NotSupportedException: The data source does not support sorting." GridView1.AllowSorting = true; DataSet carsDataSet; …
Firze
  • 3,939
  • 6
  • 48
  • 61
1
vote
1 answer

check if attribute is existing

I am binding a repeater to XmlDataSource, binding an image source with a node value like below " alt="<%# XPath("a:title",nsmgrdc)%>" /> but sometimes…
Miroo
  • 795
  • 3
  • 13
  • 35
1
vote
1 answer

Really simple XLS from XML datasource - Jasper

I have a very simple XML datasource structured like this: Some text 1 Some text 2 Some text 3 Some text…
travega
  • 8,284
  • 16
  • 63
  • 91
1
vote
1 answer

Bind XMLDataSource to HTTP handler

I have some dynamically generated XML data that will be consumed by a few consumers (An ASPX page, a flash file and maybe another one as well). I have implemented it as a custom handler. I construct the XML in the handler and output it using…
Midhat
  • 17,454
  • 22
  • 87
  • 114
1
vote
1 answer

C# -A field or property with the name 'SUMMARY' was not found on the selected data source

I am facing issue in binding the gridview when one of the tag in the XML nodelist is missing. I am getting below error message: A field or property with the name 'SUMMARY' was not found on the selected data source. Please someone help me with how to…
Mayur J
  • 371
  • 1
  • 7
  • 14
1
vote
1 answer

XMLDataSource with filter binding to a DropDownList

I have an XML I bind this to a…
naveen
  • 53,448
  • 46
  • 161
  • 251
1
vote
0 answers

Gridview XmlDataSource from Google Spreadsheet

I want to display data from google spreadsheet in a gridview. The spreadsheet is available publicly and therefore has a xml feed url : https://spreadsheets.google.com/feeds/list/0An6MDOS8Tv_OdE9MSEtsRkVtZjQtakpkYnZ3WU8tcEE/1/public/values All…
1
vote
1 answer

Creating Maintainable Xml structure for a relational database

I am not trying to save dataset or datatable to a xml file rather create a xml structure for saving related data? For example i would like to know how below data could be in a xml file User UserId Username Password Roles RoleId UserId…
Deeptechtons
  • 10,945
  • 27
  • 96
  • 178
1
vote
1 answer

How to save parsed data in android?

I am creating an android application in which I am parsing so much XML data (XML data comes from a server) which contains Strings and image url's also.I need to use this data in many part of application. So for saving all these data I have used…
Arun Badole
  • 10,977
  • 19
  • 67
  • 96