write an XSL document at runtime

Craig

Well-known member
Joined
Oct 15, 2005
Messages
110
Location
United Kingdom
Programming Experience
Beginner
Hi, the problem is i want a Gridview to show just 1 (dynamic) record from an XML document. Is there a simpler way than creating a new xsl document during runtime and linking it to the xmldatasource?

If so, how? If not how do i create an XSL document at runtime

Thanks
 
It seems strange to display only one record in a gridview but perhaps I misunderstand.
You can create a dataset and use it's ReadXml method to read the file.
 
Well the reason I want to use a gridview is that it has the headings along the top, or maybe there is a way to modify how a detailview is displayed?
 
Back
Top