<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Use ASP.NET Data Binding to Bind Directly to XML (sans DataSet)</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx</link><description>As I mentioned in my previous blog post about binding, any object that supports IEnumerable can be used as the DataSource for data binding in ASP.NET.  If you are processing XML, the XmlDocument class does not support IEnumerable (after all, it is a tree</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>  Kirk Allen Evans&amp;#8217;s Blog : Use ASP.NET Data Binding to Bind Directly to &amp;#8230; at Restaurants</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx#6914893</link><pubDate>Mon, 31 Dec 2007 10:39:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6914893</guid><dc:creator>  Kirk Allen Evans’s Blog : Use ASP.NET Data Binding to Bind Directly to … at Restaurants</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://restaurants.247blogging.info/?p=621"&gt;http://restaurants.247blogging.info/?p=621&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6914893" width="1" height="1"&gt;</description></item><item><title>OK and now with a Drop Down Listbox??</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx#187296</link><pubDate>Mon, 19 Jul 2004 14:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:187296</guid><dc:creator>M. de Groot</dc:creator><description>Thanks for al the information. But I want to bind to a DropDownListbox. This seems to be very different, because a DropDownListbox doesn't have a DataItem to convert from...&lt;br&gt;Does anyone have a clue (in VB perhaps...)&lt;br&gt;&lt;br&gt;Thank you!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=187296" width="1" height="1"&gt;</description></item><item><title>re: Use ASP.NET Data Binding to Bind Directly to XML (sans DataSet)</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx#185063</link><pubDate>Fri, 16 Jul 2004 14:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:185063</guid><dc:creator>Mark</dc:creator><description>Hi,&lt;br&gt;Like Hugo, I can't get the VB to work in my app:&lt;br&gt;Object reference not set to an instance of an object. &lt;br&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br&gt;&lt;br&gt;Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.&lt;br&gt;&lt;br&gt;Source Error: &lt;br&gt;&lt;br&gt;&lt;br&gt;Line 23: 				&amp;lt;ItemTemplate&amp;gt;&lt;br&gt;Line 24: 					&amp;lt;TR&amp;gt;&lt;br&gt;Line 25: 						&amp;lt;TD&amp;gt;&amp;lt;%# (CType(Container.DataItem, System.Xml.XmlNode))(&amp;quot;tab&amp;quot;).InnerText %&amp;gt;&amp;lt;/TD&amp;gt;&lt;br&gt;Line 26: 					&amp;lt;/TR&amp;gt;&lt;br&gt;Line 27: 				&amp;lt;/ItemTemplate&amp;gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;If I use CType(Container.DataItem, System.Xml.XmlNode)) the code compiles by my repeater is (understandably) empty.&lt;br&gt;&lt;br&gt;Can anyone help?&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;Mark&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=185063" width="1" height="1"&gt;</description></item><item><title>re: Use ASP.NET Data Binding to Bind Directly to XML (sans DataSet)</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx#165724</link><pubDate>Fri, 25 Jun 2004 16:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:165724</guid><dc:creator>Melih Gümüşçay</dc:creator><description>Great Tip this i was looking for hours thank you&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=165724" width="1" height="1"&gt;</description></item><item><title>How to Bind Nested XML to a Repeater Control with Container.DataItem?</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx#135447</link><pubDate>Thu, 20 May 2004 02:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:135447</guid><dc:creator>Sonu Kapoor's WebLog</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=135447" width="1" height="1"&gt;</description></item><item><title>How to bind a nested xml to a repeater control with Container.DataItem?</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx#135435</link><pubDate>Thu, 20 May 2004 02:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:135435</guid><dc:creator>Sonu Kapoor's WebLog</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=135435" width="1" height="1"&gt;</description></item><item><title>Not Being Rude, But...</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx#135428</link><pubDate>Thu, 20 May 2004 01:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:135428</guid><dc:creator>Kirk Allen Evans' Blog</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=135428" width="1" height="1"&gt;</description></item><item><title>Bind a Nested Xml to a Repeater Control with Container.DataItem</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx#129903</link><pubDate>Tue, 11 May 2004 20:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:129903</guid><dc:creator>Sonu Kapoor's WebLog</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=129903" width="1" height="1"&gt;</description></item><item><title>Bind a Nested Xml to a Repeater Control with Container.DataItem</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx#129217</link><pubDate>Mon, 10 May 2004 20:56:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:129217</guid><dc:creator>Sonu Kapoor's WebLog</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=129217" width="1" height="1"&gt;</description></item><item><title>re: Use ASP.NET Data Binding to Bind Directly to XML (sans DataSet)</title><link>http://blogs.msdn.com/b/kaevans/archive/2003/07/04/9713.aspx#112630</link><pubDate>Wed, 14 Apr 2004 01:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:112630</guid><dc:creator>Hugo</dc:creator><description>Hi, Iam trying to do this with a Repeater control but it does'nt work, the next error is returned to me &lt;br&gt;System.NullReferenceException: Object reference not set to an instance of an object.&lt;br&gt;I dont't know wy Visual Studio Return this error, i put all the necesary references but it does'nt work.&lt;br&gt;Can you help me please&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=112630" width="1" height="1"&gt;</description></item></channel></rss>