<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>CSS Friendly Control Adapters</title><link>http://forums.asp.net/1018.aspx</link><description>Discuss the CSS Friendly Control Adapters sample project, ask questions, post bugs, etc</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Bug in the DataList Adapter</title><link>http://forums.asp.net/thread/1298456.aspx</link><pubDate>Sun, 28 May 2006 01:57:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1298456</guid><dc:creator>Russ Helfand</dc:creator><author>Russ Helfand</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1298456.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1298456</wfw:commentRss><description>Please refer to this thread, &lt;a HREF="/thread/1298405.aspx"&gt;http://forums.asp.net/thread/1298405.aspx&lt;/a&gt;, for more information.</description></item><item><title>Re: Bug in the DataList Adapter</title><link>http://forums.asp.net/thread/1298246.aspx</link><pubDate>Sat, 27 May 2006 14:52:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1298246</guid><dc:creator>jminond</dc:creator><author>jminond</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1298246.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1298246</wfw:commentRss><description>&lt;p&gt;Cool, I think the solution I posted in the oher thread for having a bool to say if you have data.... &lt;/p&gt;
&lt;p&gt;i imagine the same type of error could potentially ahppen with rows if someone where to modify the code a little, i dont know... in any case...&lt;/p&gt;
&lt;p&gt;if you have no data... you can hit a nodata template, or something like that.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Bug in the DataList Adapter</title><link>http://forums.asp.net/thread/1298117.aspx</link><pubDate>Sat, 27 May 2006 09:09:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1298117</guid><dc:creator>Russ Helfand</dc:creator><author>Russ Helfand</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1298117.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1298117</wfw:commentRss><description>Agreed.&amp;nbsp; The real solution, which will be in the next rev of the kit, uses a more sophisticated heuristic to deal with cases where the repeat column count is 0.&amp;nbsp; Setting the value to a positive integer is just a simple workaround for the present rev of the kit (in cases where you can identify a reasonable number for the repeat column count).</description></item><item><title>Re: Bug in the DataList Adapter</title><link>http://forums.asp.net/thread/1298092.aspx</link><pubDate>Sat, 27 May 2006 06:54:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1298092</guid><dc:creator>jminond</dc:creator><author>jminond</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1298092.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1298092</wfw:commentRss><description>&lt;p&gt;i dont think setting to 1 is the proper solution... becuase thats not really the "real" value... i think it's more appropriate to check if repepat column = 0... then not do any of that work in the first place.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Bug in the DataList Adapter</title><link>http://forums.asp.net/thread/1278292.aspx</link><pubDate>Sat, 06 May 2006 17:43:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1278292</guid><dc:creator>jlerman</dc:creator><author>jlerman</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1278292.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1278292</wfw:commentRss><description>ahh&amp;nbsp; good thing I searched before I added this again! Of course I didn't search to solve it - duh -but it was easy enough to find. :-)</description></item><item><title>Re: Bug in the DataList Adapter</title><link>http://forums.asp.net/thread/1276046.aspx</link><pubDate>Thu, 04 May 2006 13:23:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1276046</guid><dc:creator>Russ Helfand</dc:creator><author>Russ Helfand</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1276046.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1276046</wfw:commentRss><description>&lt;p&gt;Nice catch!&amp;nbsp; I'll add it to my to-do list for the next rev.&lt;/p&gt;
&lt;p&gt;-Russ-&lt;/p&gt;</description></item><item><title>Bug in the DataList Adapter</title><link>http://forums.asp.net/thread/1275928.aspx</link><pubDate>Thu, 04 May 2006 11:20:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1275928</guid><dc:creator>Ari@n</dc:creator><author>Ari@n</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1275928.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1275928</wfw:commentRss><description>&lt;p&gt;When you don't specify the RepeatColumns property of the DataList-control. The following error occurs:&lt;/p&gt;
&lt;p&gt;&lt;font face=Arial color=#ff0000 size=2&gt;System.DivideByZeroException&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=#000000&gt;Row156: int nRow = iItem / dataList.RepeatColumns;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;in the &lt;font size=2&gt;class: &lt;font face=Arial&gt;App_Code\Adapters\DataListAdapter.cs&lt;/font&gt;&lt;/font&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;When you set the RepeatColumns to 1 everything works fine.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>