M
mo
Hi,
I have a DataSetDataSource populated from an XML datasource.
DataMember is assigned to one of the datasets in the XML file. I have
a DataList which is displaying the DataSetDataSource. Any idea on how
to get the DataSetDataSource inlcude multiple datasets within the XML
files?
Here is the a part of XML file
- <image>
<title>Yahoo! News</title>
<width>142</width>
<height>18</height>
<link>http://xxx.xxx.com/</link>
</image>
- <item>
<title>xxxxxxxxxxxxxxxx</title>
<pubDate>Fri, 19 Nov 2004 21:33:12 GMT</pubDate>
</item>
if I have my DataSetDataSource have "Item" or "image", my datalist
display's the item. but I can not have my datalist to include both
fields in the display.
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" Runat="server"
NavigateUrl='<%# Bind("link") %>' Text='<%# Bind("title")
%>'></asp:HyperLink>
</ItemTemplate>
Any ideas is greatly appreciated.
Thanks,
Mo
I have a DataSetDataSource populated from an XML datasource.
DataMember is assigned to one of the datasets in the XML file. I have
a DataList which is displaying the DataSetDataSource. Any idea on how
to get the DataSetDataSource inlcude multiple datasets within the XML
files?
Here is the a part of XML file
- <image>
<title>Yahoo! News</title>
<width>142</width>
<height>18</height>
<link>http://xxx.xxx.com/</link>
</image>
- <item>
<title>xxxxxxxxxxxxxxxx</title>
<pubDate>Fri, 19 Nov 2004 21:33:12 GMT</pubDate>
</item>
if I have my DataSetDataSource have "Item" or "image", my datalist
display's the item. but I can not have my datalist to include both
fields in the display.
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" Runat="server"
NavigateUrl='<%# Bind("link") %>' Text='<%# Bind("title")
%>'></asp:HyperLink>
</ItemTemplate>
Any ideas is greatly appreciated.
Thanks,
Mo