Yes I understand but woudn't that be more efficient with sql data?
How could I bind an xml file to a dataset?
I have actually sorted (as it were) my problem now but am interested in seeing this other approach.
To sort things out I had to write an xsl file that reformats the xml file into another sorted xml file before the gridview binds to it.
Main Topics
Browse All Topics





by: bullroutPosted on 2007-10-15 at 01:29:51ID: 20076562
HI There,
m/Articles /ASPNET/ Da taSourceCo ntrols.asp x
aSet.Table s[0]);
Lots of information is available on this subject.
http://www.satheeshbabu.co
or
One possible solution:
System.Data.
DataView dv = new System.Data.DataView(MyDat
Then sort the DataView: -
dv.Sort = "mycol DESC"
Then bind the GridView to the DataView: -
gridView1.DataSource = dv;
gridView1.DataBind();