grid heiracheal display

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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>
 
Answering my own question here
grid.DataSource=ds.Tables["transactionrecord"]; // the table to expand
 
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."
 
Back
Top