XPath, how can I split data? (c#)
Hi folks,
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:
<dc_infoadicional>Banhoooo$Joaquim Aguiar$14/02/2006</dc_infoadicional>
I´m going to use $ as key.
How can I do that?
My code goes above:
<asp:XmlDataSource ID="XmlDataSource1"
runat="server"
DataFile="galeria.xml"
XPath="Concurso/Row">
</asp:XmlDataSource>
<asp:GridView ID="GridView1"
runat="server"
AutoGenerateColumns="False"
AllowPaging="True"
DataSourceID="XmlDataSource1">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<%#XPath("dc_infoadicional")%>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
Many thanks.