<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1371471129118035927</id><updated>2011-04-21T23:11:51.572-05:00</updated><title type='text'>Chad Dalton</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.chaddalton.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default'/><link rel='alternate' type='text/html' href='http://blog.chaddalton.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Chad Dalton</name><uri>http://www.blogger.com/profile/09672341990037218042</uri><email>chad@chaddalton.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1371471129118035927.post-8691004993108513835</id><published>2008-09-15T07:49:00.001-05:00</published><updated>2008-09-15T07:49:04.236-05:00</updated><title type='text'>Greenwood Middle School boys XC 22 and 0 after first week</title><content type='html'>&lt;p&gt;Week #1 of cross country madness has come to an end. It&#39;s too bad that the athletic department crammed 3 meets into the first week. Still, the Greenwood Middle School boys cross country team went 22-0. That&#39;s right, 22-0! On Tuesday the boys beat Custer Baker and Perry Meridian. On Thursday they out ran Center Grove Central and Franklin Township East. Then on Saturday they finished 1st out of 18 schools at the 7th annual &lt;a href=&quot;http://www.eagleseye.net/bcxcrules/Eagle_Classic/EC_Results/EC_MS_Boys_08.htm&quot;&gt;Eagle Classic&lt;/a&gt;. Here&#39;s a pic from the Eagle Classic (not very photogenic but they are fast):&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh6.ggpht.com/mungomash/SM5ZvpqpHbI/AAAAAAAAAEc/iIU1dCfhQDg/s1600-h/eagleclassic%5B3%5D.jpg&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;270&quot; alt=&quot;eagleclassic&quot; src=&quot;http://lh5.ggpht.com/mungomash/SM5Zv1AXT5I/AAAAAAAAAEg/ThIOReP1s-Q/eagleclassic_thumb%5B1%5D.jpg?imgmax=800&quot; width=&quot;435&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;David had a great week. He has been training since early summer for this. And, his hard work has paid off. Stay tuned. It only gets better!&lt;/p&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width=&#39;1&#39; height=&#39;1&#39; src=&#39;https://blogger.googleusercontent.com/tracker/1371471129118035927-8691004993108513835?l=blog.chaddalton.com&#39; alt=&#39;&#39; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.chaddalton.com/feeds/8691004993108513835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1371471129118035927&amp;postID=8691004993108513835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/8691004993108513835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/8691004993108513835'/><link rel='alternate' type='text/html' href='http://blog.chaddalton.com/2008/09/greenwood-middle-school-boys-xc-22-and.html' title='Greenwood Middle School boys XC 22 and 0 after first week'/><author><name>Chad Dalton</name><uri>http://www.blogger.com/profile/09672341990037218042</uri><email>chad@chaddalton.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07930445888381558470'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/mungomash/SM5ZvpqpHbI/AAAAAAAAAEc/iIU1dCfhQDg/s72-c/eagleclassic%5B3%5D.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1371471129118035927.post-5599525287276532875</id><published>2008-09-02T09:44:00.001-05:00</published><updated>2008-09-02T09:44:35.338-05:00</updated><title type='text'>Add xap MIME type to IIS in order to host Silverlight 2</title><content type='html'>&lt;p&gt;Having trouble hosting a Silverlight 2 app on IIS? As I discovered recently when I created a Silverlight home page for my personal web site (&lt;a href=&quot;http://chaddalton.com&quot;&gt;chaddalton.com&lt;/a&gt;),  it&#39;s possible that you are missing the xap MIME type. The xap file type is in essence a zip file in which the Silverlight assemblies and resources have been compressed and stored. To view the contents of the xap file in a Silverlight project simply rename it giving it a zip file extension and view it as you would any other zip file.&lt;/p&gt;  &lt;p&gt;To add the MIME type:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh4.ggpht.com/mungomash/SL1RUSldLJI/AAAAAAAAAEU/mmpih6TB1_E/s1600-h/xap%5B4%5D.jpg&quot;&gt;&lt;img style=&quot;border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px&quot; height=&quot;430&quot; alt=&quot;xap&quot; src=&quot;http://lh3.ggpht.com/mungomash/SL1RUu5TSAI/AAAAAAAAAEY/QoZv92P72Xc/xap_thumb%5B2%5D.jpg?imgmax=800&quot; width=&quot;442&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Navigation from the IIS Manager: [YourWebSite] &gt; Properties &gt; HTTP Headers &gt; MIME Types ... &gt; New&lt;/p&gt;  &lt;p&gt;More information is available at &lt;a href=&quot;http://learn.iis.net/page.aspx/262/silverlight/&quot;&gt;IIS.net&lt;/a&gt;.&lt;/p&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width=&#39;1&#39; height=&#39;1&#39; src=&#39;https://blogger.googleusercontent.com/tracker/1371471129118035927-5599525287276532875?l=blog.chaddalton.com&#39; alt=&#39;&#39; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.chaddalton.com/feeds/5599525287276532875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1371471129118035927&amp;postID=5599525287276532875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/5599525287276532875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/5599525287276532875'/><link rel='alternate' type='text/html' href='http://blog.chaddalton.com/2008/09/add-xap-mime-type-to-iis-in-order-to.html' title='Add xap MIME type to IIS in order to host Silverlight 2'/><author><name>Chad Dalton</name><uri>http://www.blogger.com/profile/09672341990037218042</uri><email>chad@chaddalton.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07930445888381558470'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/mungomash/SL1RUSldLJI/AAAAAAAAAEU/mmpih6TB1_E/s72-c/xap%5B4%5D.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1371471129118035927.post-369493284457106770</id><published>2008-08-26T12:47:00.001-05:00</published><updated>2008-08-26T12:49:05.155-05:00</updated><title type='text'>.NET Magic</title><content type='html'>&lt;p&gt;How can a StringDictionary key disappear? &quot;It can&#39;t&quot; you say. I agree. So, why does this test fail?&lt;/p&gt;  &lt;pre class=&quot;code&quot;&gt;&lt;span style=&quot;color: #2b91af&quot;&gt;StringDictionary &lt;/span&gt;dictionary = &lt;span style=&quot;color: blue&quot;&gt;new &lt;/span&gt;&lt;span style=&quot;color: #2b91af&quot;&gt;StringDictionary&lt;/span&gt;();dictionary.Add(&lt;span style=&quot;color: #a31515&quot;&gt;&quot;Item1&quot;&lt;/span&gt;, &lt;span style=&quot;color: #a31515&quot;&gt;&quot;Here is Item1&quot;&lt;/span&gt;);dictionary.Add(&lt;span style=&quot;color: #a31515&quot;&gt;&quot;Item2&quot;&lt;/span&gt;, &lt;span style=&quot;color: #a31515&quot;&gt;&quot;Here is Item2&quot;&lt;/span&gt;);dictionary.Add(&lt;span style=&quot;color: #a31515&quot;&gt;&quot;Item3&quot;&lt;/span&gt;, &lt;span style=&quot;color: #a31515&quot;&gt;&quot;Here is Item3&quot;&lt;/span&gt;);&lt;span style=&quot;color: green&quot;&gt;// Passes&lt;/span&gt;&lt;span style=&quot;color: #2b91af&quot;&gt;Assert&lt;/span&gt;.AreEqual(&lt;span style=&quot;color: blue&quot;&gt;true&lt;/span&gt;, dictionary.ContainsKey(&lt;span style=&quot;color: #a31515&quot;&gt;&quot;Item1&quot;&lt;/span&gt;));&lt;span style=&quot;color: #2b91af&quot;&gt;List&lt;/span&gt;&lt;&lt;span style=&quot;color: blue&quot;&gt;string&lt;/span&gt;&gt; listOfKeys = &lt;span style=&quot;color: blue&quot;&gt;new &lt;/span&gt;&lt;span style=&quot;color: #2b91af&quot;&gt;List&lt;/span&gt;&lt;&lt;span style=&quot;color: blue&quot;&gt;string&lt;/span&gt;&gt;();&lt;span style=&quot;color: blue&quot;&gt;foreach &lt;/span&gt;(&lt;span style=&quot;color: blue&quot;&gt;string &lt;/span&gt;key &lt;span style=&quot;color: blue&quot;&gt;in &lt;/span&gt;dictionary.Keys){    listOfKeys.Add(key);}&lt;span style=&quot;color: green&quot;&gt;// Fails&lt;/span&gt;&lt;span style=&quot;color: #2b91af&quot;&gt;Assert&lt;/span&gt;.AreEqual(&lt;span style=&quot;color: blue&quot;&gt;true&lt;/span&gt;, listOfKeys.Contains(&lt;span style=&quot;color: #a31515&quot;&gt;&quot;Item1&quot;&lt;/span&gt;));&lt;/pre&gt;&lt;p&gt;The answer is simple ... yet frustrating. From &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.collections.specialized.stringdictionary(VS.71).aspx&quot;&gt;MSDN&lt;/a&gt;: &quot;The key is handled in a case-insensitive manner; it is translated to lower case before it is used with the string dictionary.&quot;&lt;/p&gt;&lt;p&gt;If you need to be able to display a list of dictionary keys try the  &lt;font face=&quot;Courier New&quot;&gt;&lt;span style=&quot;color: #2b91af&quot;&gt;Dictionary&lt;/span&gt;&lt;&lt;span style=&quot;color: blue&quot;&gt;string&lt;/span&gt;, &lt;span style=&quot;color: blue&quot;&gt;string&lt;/span&gt;&gt; &lt;font face=&quot;Georgia&quot;&gt;instead of the&lt;/font&gt; &lt;span style=&quot;color: #2b91af&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;StringDictionary&lt;/font&gt;&lt;/span&gt;. &lt;/font&gt;Simliar results ... less frustration.&lt;/p&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width=&#39;1&#39; height=&#39;1&#39; src=&#39;https://blogger.googleusercontent.com/tracker/1371471129118035927-369493284457106770?l=blog.chaddalton.com&#39; alt=&#39;&#39; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.chaddalton.com/feeds/369493284457106770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1371471129118035927&amp;postID=369493284457106770' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/369493284457106770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/369493284457106770'/><link rel='alternate' type='text/html' href='http://blog.chaddalton.com/2008/08/net-magic.html' title='.NET Magic'/><author><name>Chad Dalton</name><uri>http://www.blogger.com/profile/09672341990037218042</uri><email>chad@chaddalton.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07930445888381558470'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1371471129118035927.post-5030199336947133009</id><published>2008-08-06T13:07:00.002-05:00</published><updated>2008-08-07T07:45:04.112-05:00</updated><title type='text'>I am a minimizer</title><content type='html'>&lt;p&gt;I have developed a bit of a reputation at work. I am a &quot;minimizer.&quot; Is that actually my nickname? No. It hasn&#39;t gone that far yet. But, I have overhead a fellow developer say, &quot;I&#39;m going to pull a &#39;Chad&#39; and stick a region around this code.&quot;&lt;/p&gt;&lt;p&gt;I like Regions. I like to collapse methods. And, I like to collapse the solution tree. I like to be able to see the big picture first before I start to dig down into the details.&lt;/p&gt;&lt;p&gt;There is a shortcut for adding a region, albeit a difficult-to-use shortcut. And, of course, Ctl-M-O will collapse all of the methods in a file.&lt;/p&gt;&lt;p&gt;But, finding a quick and easy way to collapse all of the directories/files in the solution tree was a bit more difficult until I was pointed to a handy little macro by &lt;a href=&quot;http://geekswithblogs.net/scottkuhl/archive/2007/04/09/111195.aspx&quot;&gt;Scott Kuhl&lt;/a&gt;. Thanks, Scott.&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width=&#39;1&#39; height=&#39;1&#39; src=&#39;https://blogger.googleusercontent.com/tracker/1371471129118035927-5030199336947133009?l=blog.chaddalton.com&#39; alt=&#39;&#39; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.chaddalton.com/feeds/5030199336947133009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1371471129118035927&amp;postID=5030199336947133009' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/5030199336947133009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/5030199336947133009'/><link rel='alternate' type='text/html' href='http://blog.chaddalton.com/2008/08/i-am-minimizer.html' title='I am a minimizer'/><author><name>Chad Dalton</name><uri>http://www.blogger.com/profile/09672341990037218042</uri><email>chad@chaddalton.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07930445888381558470'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1371471129118035927.post-5533430045195524451</id><published>2008-08-02T08:38:00.004-05:00</published><updated>2008-08-04T07:49:05.540-05:00</updated><title type='text'>Embracing VB.net</title><content type='html'>&lt;p&gt;First off, no, I&#39;m not switching from C# to VB.net. In fact, just the opposite, my .net experienced began with VB.net and I promptly switched to C# when it became apparent that there were more job opportunities for C# developers. But, given my past experience with VB.net, I really enjoyed Kathleen Dollard&#39;s recent post, &lt;a href=&quot;http://msmvps.com/blogs/kathleen/archive/2008/07/19/what-a-c-coder-should-know-before-they-write-vb.aspx&quot;&gt;What a C# Coder Should Know Before They Write VB&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;The most important item may be the first: &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;1) Get over the respect thing or quit before you start. VB is a great language.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;As developers, our own petty preferences and idiosyncrasies can be our most formidable enemy. The .net framework is designed to allow a developer to choose from numerous server-side programming languages. Each language brings with it it&#39;s own set of pros and cons. And yet, I have not run across a single dev team that allows developers to choose the language they will use.&lt;/p&gt;&lt;p&gt;Which brings me #44 on Kathleen&#39;s list:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;44) VB XLINQ is amazing. Learn how to use XML namespaces for Intellisense, manage XML as XML regarding missing values (this took a 40 line piece of C# code to three lines in VB, how to output XML, and how to use it as a generalized text processing tool&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;VB XLINQ is really amazing. I&#39;m amazed that the C# community hasn&#39;t complained more about the lack of similar support in C#. But, back to my original point. A dev team should take advantage of this VB.net goodness. There is no reason that a data access layer should not take advantage of VB XLINQ even if the rest of the app is written in C#. Most web-based teams already make use of a number of programming languages or markup languages (C#, JavaScript, t-sql or pl/sql, HTML, CSS, XML, and possibly some Perl or Python). So, what&#39;s one more, right?&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width=&#39;1&#39; height=&#39;1&#39; src=&#39;https://blogger.googleusercontent.com/tracker/1371471129118035927-5533430045195524451?l=blog.chaddalton.com&#39; alt=&#39;&#39; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.chaddalton.com/feeds/5533430045195524451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1371471129118035927&amp;postID=5533430045195524451' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/5533430045195524451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/5533430045195524451'/><link rel='alternate' type='text/html' href='http://blog.chaddalton.com/2008/08/embracing-vbnet.html' title='Embracing VB.net'/><author><name>Chad Dalton</name><uri>http://www.blogger.com/profile/09672341990037218042</uri><email>chad@chaddalton.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07930445888381558470'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1371471129118035927.post-2204323189254273956</id><published>2008-07-31T12:28:00.001-05:00</published><updated>2008-07-31T12:28:44.046-05:00</updated><title type='text'>Warning: cross country season approaching</title><content type='html'>&lt;p&gt;Summer break is waning to a close. In a few weeks,the kids will be back in school and the fall sport teams will begin practicing. At our house, this is a fun time. David, our oldest, is in 7th grade and runs cross country for the Middle School. We have hopes that some of his younger sister and/or his little brother will also run because we are die-hard cross country parents.&lt;/p&gt; &lt;p&gt;We have encouraged him to stick to the training program his coach has given him to prepare for the season. We plan on attending every meet we can make it to and doing our part to cheer him on. We have even purchased a few books this summer so that we can better understand cross country training and race strategy.&lt;/p&gt; &lt;p&gt;In addition, I have a habit of bragging on David&#39;s accomplishments. So, this is fair warning. Don&#39;t be surprised to see regular updates here. And, normally, the updates will come in the form of online race results when available.&lt;/p&gt; &lt;p&gt;So, without further ado, Tuesday evening David ran in the last run of the &lt;a href=&quot;http://www.onlineraceresults.com/race/view_plain_text.php?race_id=8348&quot;&gt;Runners Forum Twilight XC Series&lt;/a&gt; with some of the cities best High School runners. Look for the 12-year old (he finished 43rd). I couldn&#39;t get away from work and make it up to the north side of the city before the race. But, Amanda said that it was really exciting race even though the temperature was in the 90&#39;s.&lt;/p&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width=&#39;1&#39; height=&#39;1&#39; src=&#39;https://blogger.googleusercontent.com/tracker/1371471129118035927-2204323189254273956?l=blog.chaddalton.com&#39; alt=&#39;&#39; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.chaddalton.com/feeds/2204323189254273956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1371471129118035927&amp;postID=2204323189254273956' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/2204323189254273956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/2204323189254273956'/><link rel='alternate' type='text/html' href='http://blog.chaddalton.com/2008/07/warning-cross-country-season.html' title='Warning: cross country season approaching'/><author><name>Chad Dalton</name><uri>http://www.blogger.com/profile/09672341990037218042</uri><email>chad@chaddalton.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07930445888381558470'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1371471129118035927.post-5747192051671362397</id><published>2008-07-29T18:19:00.001-05:00</published><updated>2008-07-29T18:19:53.238-05:00</updated><title type='text'>Alternating row shading without using the AlternatingItemTemplate</title><content type='html'>&lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://weblogs.asp.net/bleroy/archive/2008/07/23/alternating-styles-in-listview-without-alternatingitemtemplate.aspx&quot;&gt;Bertrand Le Roy&lt;/a&gt; has a very helpful post about adding alternating row shading to a &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bb398790.aspx&quot;&gt;ListView&lt;/a&gt;. This same concept can be applied to a &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/x8f2zez5.aspx&quot;&gt;Repeater&lt;/a&gt; by inserting ItemIndex for DisplayIndex. &lt;p&gt;For example:&lt;pre class=&quot;code&quot;&gt;&lt;span style=&quot;color: blue&quot;&gt;&lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;Repeater &lt;/span&gt;&lt;span style=&quot;color: red&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;=&quot;Repeater1&quot; &lt;/span&gt;&lt;span style=&quot;color: red&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;=&quot;server&quot;&gt;    &lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;HeaderTemplate&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;        &lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;table&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;    &lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;HeaderTemplate&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;    &lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;ItemTemplate&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;        &lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;tr &lt;/span&gt;&lt;span style=&quot;color: red&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;=&#39;&lt;/span&gt;&lt;span style=&quot;background: #ffee62&quot;&gt;&lt;%&lt;/span&gt;# Container.ItemIndex % 2 == 0 ? &quot;&quot; : &quot;shade&quot; &lt;span style=&quot;background: #ffee62&quot;&gt;%&gt;&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&#39;&gt;            &lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;                &lt;/span&gt;&lt;span style=&quot;background: #ffee62&quot;&gt;&lt;%&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;# &lt;/span&gt;&lt;span style=&quot;color: #2b91af&quot;&gt;DataBinder&lt;/span&gt;.Eval(Container.DataItem, &lt;span style=&quot;color: #a31515&quot;&gt;&quot;Name&quot;&lt;/span&gt;) &lt;span style=&quot;background: #ffee62&quot;&gt;%&gt;&lt;/span&gt;            &lt;span style=&quot;color: blue&quot;&gt;&lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;        &lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;    &lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;ItemTemplate&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;    &lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;FooterTemplate&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;        &lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;table&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;    &lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;FooterTemplate&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;&lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;asp&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #a31515&quot;&gt;Repeater&lt;/span&gt;&lt;span style=&quot;color: blue&quot;&gt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;a href=&quot;http://11011.net/software/vspaste&quot;&gt;&lt;/a&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img width=&#39;1&#39; height=&#39;1&#39; src=&#39;https://blogger.googleusercontent.com/tracker/1371471129118035927-5747192051671362397?l=blog.chaddalton.com&#39; alt=&#39;&#39; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.chaddalton.com/feeds/5747192051671362397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1371471129118035927&amp;postID=5747192051671362397' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/5747192051671362397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1371471129118035927/posts/default/5747192051671362397'/><link rel='alternate' type='text/html' href='http://blog.chaddalton.com/2008/07/alternating-row-shading-without-using.html' title='Alternating row shading without using the AlternatingItemTemplate'/><author><name>Chad Dalton</name><uri>http://www.blogger.com/profile/09672341990037218042</uri><email>chad@chaddalton.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07930445888381558470'/></author><thr:total>0</thr:total></entry></feed>