473,513 Members | 2,307 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

grid heiracheal display

I have a simple winform Data Grid with a XML source file. The heirarcy is 1 level deep. While I have expand selected, I still have to click on the hyperlinks to get the grid to show its data. What I would really like is to have it just plain come up as if I was getting the data from a databse ( not nested ). Is there a way to drive that ? Thank

My grid comes up with three hyperlinks: TableName, transactions, transactionrecor
If I click through transactionrecord - thats what I'd like. if Iclick the table hyperlink, I get nothing and trasnaction gets me a table with a plus siign hiding the first row. I just want my users to see a grid. Forget the hyperlinks. Can I do anything differently without reformatting the data by XSL etc. - still use the almost no code methods below

method
datset.readXMLStrtea
dataset.readxm
grid.datasouce = d
grid.expand(0

<transactions><transactionrecord atrib atrib><message> blah xyz </message></transactionrecord><transactionrecord atrib atrib><message> blah xyz </message></transactionrecord></transactions>
Nov 16 '05 #1
2 1251
Answering my own question here
grid.DataSource=ds.Tables["transactionrecord"]; // the table to expand
Nov 16 '05 #2
Hi Andrew,

It was nice to hear that you have had the problem resolved. Thanks for
sharing your experience with all the people here. If you have any
questions, please feel free to post them in the community.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #3

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

Similar topics

2
4855
by: Jordan O'Hare | last post by:
Hello Everyone, I am after some help with the following: I have a windows application that contains a list box and two data grids. All three controls are binded to a dataset that contains...
2
1148
by: andrewcw | last post by:
I have 3 datasets I rotate to my datagrid I apply a style to each like this and cause the grid ( gridTX ) to expand.. When I look in the debug window at the datasouce attached to the grid, those...
4
2553
by: Carlos Lozano | last post by:
Hello Folks! I have a grid that populates from a table on SQL Server. All datetime with DBNull value show 1/1/1900 12:00AM ... Instead of just blank (""). I found a document with the following...
1
937
by: andrewcw | last post by:
I have a simple winform Data Grid with a XML source file. The heirarcy is 1 level deep. While I have expand selected, I still have to click on the hyperlinks to get the grid to show its data. What I...
117
18413
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
3
7575
by: kaczmar2 | last post by:
Hey there, I have a large image in a browser window, and I would like a way to overlay grid lines on top of the image, so a user can show the grid or hide the grid lines. The grid would cover...
6
7965
by: Romulo NF | last post by:
Greetings again to everyone, Im back to show this grid componenet i´ve developed. With this grid you can show the data like a normal table, remove the rows that you need, add rows, import data,...
2
2772
by: mdock | last post by:
Hello, I have a javascript grid on my ASP page which displays information about the history of specific units produced in our manufacturing facility. One of the results is the order number on...
2
3668
by: kurtzky | last post by:
i created a form that should function as follows: i will enter a number in a textbox..then it should query from the database all the records which has that number..these records will have a...
0
7265
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
7171
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...
0
7539
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5692
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5095
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4751
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3228
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1605
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.