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 souza15 reputationPosted Aug 22, 2008, 10:45 AM EDT
<%#XPath("dc_infoadicional").ToString().Split('$')[0]%>
Quite simple.