HighTechTalks DotNet Forums  

grid heiracheal display

VB.net microsoft.public.dotnet.languages.vb


Discuss grid heiracheal display in the VB.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
andrewcw
 
Posts: n/a

Default grid heiracheal display - 04-16-2004 , 10:01 PM






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>

Reply With Quote
  #2  
Old   
andrewcw
 
Posts: n/a

Default RE: grid heiracheal display - 04-16-2004 , 10:41 PM






Answering my own question here
grid.DataSource=ds.Tables["transactionrecord"]; // the table to expand

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.