Archives
LINQ the lot
LINQ goes so much further than just SQL and XML.
Something like this is just why I love LINQ, a LINQ query on an ASP.NET ListView controls items.
1: Dim items = From lvi In AspNetListViewControl.Items _
2: Where CType(lvi.FindControl("DropDownList1"), DropDownList).SelectedValue = someIntVar _
3: Select lvi)
Getting a ListViewItem's where the selected value of a DropDownList is set to the value I want. So simple, yet so powerful.
The observant among you will notice that this is in VB.net, not my native C#!! More on that soon! :)
Microsoft Source Analysis for C#
I was just about to blog about this, then I found this post while scanning the asp.net feed. Guy Barrette does a great job of summarising it.If your in a rush, the home page is:
http://blogs.msdn.com/sourceanalysis/
and you can download it from here:
http://code.msdn.microsoft.com/sourceanalysis/Release/ProjectReleases.aspx?ReleaseId=1047
While in the link mode; I spotted this at the same time on Charlie Calvert's blog a quick list of keyboard shortcuts for VS2008
Playing with ListStyles.xsl for CQWP in MOSS

Although new to all this MOSS stuff I am getting stuck in with the Content Query Web Part (CQWP) and XSL. They are a pretty powerful combination, but pretty soon I could see how this could become slightly wild and considering ListStyles.xsl is an "out of the box" file, getting crazy with custom files could become more of a problem than simply a huge file.
Check out these two posts on how to manage custom styles.
I guess it comes down to whether you are happy, or even able to edit the ListStyles.xsl file, number 1 is certainly the easiest route and my choice, but I can see value in having a CQWP instance for each style. I certainly am no fan of big changes in OOTB files, granularity is good :)