Plucka
asked on
Datagrid Question
Hi,
I'm returing a dataset from a webservice to a Datagrid using:
dsOut.ReadXml(stream)
DataGrid1.DataSource = dsOut
When the grid populates, I see one item called "item" with a plus sign, expanding this gives me the data I want, how do avoid the initial item being displayed and automatically expand to "item"
Regards
Plucka
I'm returing a dataset from a webservice to a Datagrid using:
dsOut.ReadXml(stream)
DataGrid1.DataSource = dsOut
When the grid populates, I see one item called "item" with a plus sign, expanding this gives me the data I want, how do avoid the initial item being displayed and automatically expand to "item"
Regards
Plucka
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry,
I mean this.
DataGrid1.DataSource = dsOut.Tables(0)
Regards
Plucka
I mean this.
DataGrid1.DataSource = dsOut.Tables(0)
Regards
Plucka
Hi Plucka,
Glad I could help. I have received plenty of help from EE myself. I am glad that I could return the favor.
Thanks, and have 'Fun'....
rrbecker
Glad I could help. I have received plenty of help from EE myself. I am glad that I could return the favor.
Thanks, and have 'Fun'....
rrbecker
ASKER
Yes good food, did make me think about specifying the node on the dataset.
This works.
DataGrid1.DataSource = dsOut.childNodes(1).Tables
Regards
Plucka