Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Frank #1
help with XML in Datagrid
I have this XML document which I want to list in a datagrid. I know
..NET implicitly infers the
data relation but I don't know how to manipulate it.
Here is the document:
<root>
<Folders Language="Polish">
<Master Exists="True"></Master>
<Document Exists="True"></Document>
<Page Exists="True"></Page>
<Component Exists="True"></Component>
</Folders>
<Folders Language="US English">
<Master Exists="False"></Master>
<Document Exists="False"></Document>
<Page Exists="True"></Page>
<Component Exists="False"></Component>
</Folders>
<Folders Language="Japanese">
<Master Exists="False"></Master>
<Document Exists="True"></Document>
<Page Exists="False"></Page>
<Component Exists="True"></Component>
</Folders>
<Folders Language="Korean">
<Master Exists="True"></Master>
<Document Exists="False"></Document>
<Page Exists="True"></Page>
<Component Exists="False"></Component>
</Folders>
</root>
I'm trying to put the Languages along the top row (as a header) and
"Master, Document, Page, Component" along the first column. The Exists
Parameter should show up in the cell
So It would basically have something like this:
Language |Polish|US English|Japanese|Korean
Master | True | True | True | True
Document | False| False | True | False
Page | Flase| True | False | True
Component| True | Flase | True | False
Thanks!
Frank
Frank Guest
-
How to add a Dropdown list to a datagrid at runtime (dynamic) without using template columns in ASP.NET and still have the ability to us the datagrid Update event.
How to add a Dropdown list to a datagrid at runtime (dynamic) without using template columns in ASP.NET and still have the ability to us the... -
UserControl inside of datagrid - loses its viewstate when datagrid is re-bound on postback
I have a simple usercontrol, a datepicker which contains 3 dropdownlist , it resides inside a datagrid column and i set the selecteddate property of... -
custom usercontrol inside of datagrid - loses its state/viewstate on re-bind/postback of the datagrid
I have a simple usercontrol, a datepicker which contains 3 dropdownlist , it resides inside a datagrid column and i set the selecteddate property of... -
problema ultima pagina datagrid asp.net/problem last page datagrid
ciao, ho un problema. ho un datagrid in una pagina asp.net con le impostazioni di PAGING abilitate. Uso l'impostazione NUMERIC PAGE. Il problema è... -
To all Gurus: How can I edit/update a DataGrid in a DataGrid (nested DataGrid)? Possible?
Hello, I am searching the whole Internet for a good example how to edit/update a DataGrid in a DataGrid (nested DataGrid). I know how to... -
Michael Tkachev #2
Re: help with XML in Datagrid
Hi,
If you use the XML document, I recommend you to apply the XSL. It's easier.
If you need, I can help you to write it.
--
Sincerely yours,
Michael B. Tkachev.
[email]m_tkachev@hotmail.com[/email]
"Frank" <FrankIsHere@gmail.com> wrote in message
news:1125338940.331263.85570@g47g2000cwa.googlegro ups.com...> I have this XML document which I want to list in a datagrid. I know
> .NET implicitly infers the
> data relation but I don't know how to manipulate it.
>
> Here is the document:
>
> <root>
> <Folders Language="Polish">
> <Master Exists="True"></Master>
> <Document Exists="True"></Document>
> <Page Exists="True"></Page>
> <Component Exists="True"></Component>
> </Folders>
> <Folders Language="US English">
> <Master Exists="False"></Master>
> <Document Exists="False"></Document>
> <Page Exists="True"></Page>
> <Component Exists="False"></Component>
> </Folders>
> <Folders Language="Japanese">
> <Master Exists="False"></Master>
> <Document Exists="True"></Document>
> <Page Exists="False"></Page>
> <Component Exists="True"></Component>
> </Folders>
> <Folders Language="Korean">
> <Master Exists="True"></Master>
> <Document Exists="False"></Document>
> <Page Exists="True"></Page>
> <Component Exists="False"></Component>
> </Folders>
> </root>
>
>
>
> I'm trying to put the Languages along the top row (as a header) and
> "Master, Document, Page, Component" along the first column. The Exists
>
> Parameter should show up in the cell
> So It would basically have something like this:
>
>
> Language |Polish|US English|Japanese|Korean
> Master | True | True | True | True
> Document | False| False | True | False
> Page | Flase| True | False | True
> Component| True | Flase | True | False
>
>
> Thanks!
> Frank
>
Michael Tkachev Guest



Reply With Quote

