I have a c# application that reads a xml file. So far so good, but I need to split a data stored in a xml node:
I´m going to use $ as key.
How can I do that?
My code goes above:
DataFile="galeria.xml"
XPath="Concurso/Row">
AutoGenerateColumns="False"
AllowPaging="True"
DataSourceID="XmlDataSource1">
<%#XPath("dc_infoadicional")%>
Many thanks.
edu de souzaPosted Aug 22, 2008, 2:45 PM
<%#XPath("dc_infoadicional").ToString().Split('$')[0]%>
Quite simple.