Server-Side Code used in DataList Item Template

I don't know why I didn't think of it a year ago, but when I got my blog space at geekswithbogs.net, I jumped right on adding links to the left-border of the page. The "why didn't I think" part is I could have done that to my site. I only had two sets of links, one that became a mirror of what is displayed in my BlogRoll and the other was a stale list of web sites.

I decided I wanted to either move or copy (haven't decided which yet) the entire list of links from geekswithblogs over to my site sidebar. That meant I needed a good way to update/delete items from the web as well. Since I already have an Admin page for adding onto my BlogRoll, I just added a few more tables and a few more sections to my sidebar.

I also wanted to add the (rss) link but only if it existed. Read how that was done here:

http://www.wynapse.com/CSharp/DataList_ItemTemplate_Helper_Function.aspx

Update:
I got to thinking about the code, and something didn't seem right although it was working. Turns out, not all the markup made it through the translation to the article. That's now been fixed, and makes much more sense... sorry for any confusion I may have caused.

Update 2 (January 11, 2007):
This link has been broken since January 1 and I realized it this morning... it's now live.

posted @ Friday, December 29, 2006 3:31 PM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 6 and 5 and type the answer here:
 

Live Comment Preview:

 
«October»
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678