473,386 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ASPX and XML integration with Datagrid

Hi there,
I am planning to implement a Datagrid display for my XML data. XML data has <problem><id>1</descrption>something</description><id>2</descrption>somewhere</description></problem>
These problem have associated comments for it.
<comments><id>1</id><Date>12/1/2004</Date><comment>adasdasdas</comment><id>1</id><Date>12/1/2004</Date><comment>qweiqweqw</comment><id>1</id><Date>12/1/2004</Date><comment>juewe</comment><id>2</id><Date>13/1/2004</Date><comment>adasdasdas</comment><id>2</id><Date>13/1/2004</Date><comment>qweiqweqw</comment><id>2</id><Date>13/1/2004</Date><comment>juewe</comment></comments>
I am displaying all the data from problem into a grid row and the comments have to be in the same row but it has to set the datasource to another XML.
Or can I have the Problem as well as comments in the same XML file and use it in my datagrid?
Any help would be greatly appreciated.
I am a novice to .net and please dont mind about my technical knowledge if these questions are absurd.
Thanks
John

Nov 22 '05 #1
1 1367
Cor
Hi John,

Do not mix up what I am telling now. XML is used to store datasets.

The underlaying data from a datagrid is stored in a datatable.

And a lot of datatables can be stored in a dataset.

Therefore when you have a XML file that is a dataset (not every XML file is
a dataset, I hope you see that difference), you can connect XML to the
Datagrid.

But keep also in mind that the Datagrid is a serverside control and
therefore the connection is done at the serverside before sending and the
XML file itself is not sended to the client when used in this way.

(When you use a webservice and a so called windowsforms program it can also
be done in another way, this more to be complete, than trying to give you
information)

I hope this gives some light in the dark?

Cor
I am planning to implement a Datagrid display for my XML data. XML data

has
Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Rajendran | last post by:
Hi there, I am planning to implement a Datagrid display for my XML data. XML data has <problem><id>1</descrption>something</description><id>2</descrption>somewhere</description></problem> These...
2
by: J Sahoo | last post by:
Hi, I have a browse page where I am showing few fields from my SQL Server table. One of the field is Image type, all the fields are bound to a single table. I want to show the image from the...
6
by: Paolo Pignatelli | last post by:
I have an aspx code behind page that goes something like this in the HTML view: <asp:HyperLink id=HyperLink1 runat="server" NavigateUrl='<%#"mailto:" &amp;...
6
by: John Rivers | last post by:
hi, here is how to do it and restore sanity to aspx html rendering: (please only reply with sensible architectural discussion - juan) put this at the end of an aspx file (or use an include at...
4
by: david | last post by:
I have created a datagrid with ID dgEncounter in form design, and add a HyperLink Column, Link, which is bounded to a field URLs that providing the URL of the page to go for each record. That is...
1
by: engwar | last post by:
I have a page that my users will go to to upload files to my website. As I want to reuse the file upload code on multiple pages I put the file upload textbox/buttons on a user control which I plan...
6
by: SimonZ | last post by:
How can you call function from aspx page? For example: button on aspx page: <asp:button Visible="<% =funcVisible()%>" id="btnNew" Runat="server"></asp:button> code behind function:
0
by: bverhalleman | last post by:
Hello First let me explain the situation i'm having. I have to develop a aspx page where you can type address information of a contact. Now, this aspx page has to interact with some integration...
15
by: slinky | last post by:
Thanks in advance fo rany help... I have an XML data file (well- formed) that I need to place into my website's app_data folder. I would like to have an .aspx form on my site that simply has two...
3
by: =?Utf-8?B?THVpZ2k=?= | last post by:
Hi all, how can I execute a SSIS Package from an aspx page in C#? I'm using .NET 2.0. Thanks a lot. -- Luigi http://blogs.dotnethell.it/ciupaz/
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.