Hello there.
I'm trying to learn about C# (I'm currently a VB6 developer. I have done a few tutorials and am now experimenting with my own application to play with XML in VS.net.
I had a go with this tutorial as a starting point:-
Which basically amounts to doing this:-
string filePath = "C:\\_Data_Transfers\\CFRMIS Data Import Tool\\CFRMIS Data Import Tool\\transferSettings.xml";
dsfiles.ReadXml(filePath);
DG1.DataSource = dsfiles;
DG1.DataMember = "files";
DG1.CaptionText = DG1.DataMember;
DG1 being a datagrid to display the XML data.
What I want to do now is loop throug the data in the dataset and I have no idea how to do this.
To start off with I'd like to write a loop which loops through each record in the dataset and message boxes it to the screen.
Can you help?
Cheers
Spangeman
I'm trying to learn about C# (I'm currently a VB6 developer. I have done a few tutorials and am now experimenting with my own application to play with XML in VS.net.
I had a go with this tutorial as a starting point:-
Which basically amounts to doing this:-
string filePath = "C:\\_Data_Transfers\\CFRMIS Data Import Tool\\CFRMIS Data Import Tool\\transferSettings.xml";
dsfiles.ReadXml(filePath);
DG1.DataSource = dsfiles;
DG1.DataMember = "files";
DG1.CaptionText = DG1.DataMember;
DG1 being a datagrid to display the XML data.
What I want to do now is loop throug the data in the dataset and I have no idea how to do this.
To start off with I'd like to write a loop which loops through each record in the dataset and message boxes it to the screen.
Can you help?
Cheers
Spangeman